Search in sources :

Example 1 with SavedRequestInputFilter

use of org.apache.coyote.http11.filters.SavedRequestInputFilter in project tomcat by apache.

the class Http11Processor method setRequestBody.

@Override
protected final void setRequestBody(ByteChunk body) {
    InputFilter savedBody = new SavedRequestInputFilter(body);
    savedBody.setRequest(request);
    Http11InputBuffer internalBuffer = (Http11InputBuffer) request.getInputBuffer();
    internalBuffer.addActiveFilter(savedBody);
}
Also used : VoidInputFilter(org.apache.coyote.http11.filters.VoidInputFilter) BufferedInputFilter(org.apache.coyote.http11.filters.BufferedInputFilter) IdentityInputFilter(org.apache.coyote.http11.filters.IdentityInputFilter) ChunkedInputFilter(org.apache.coyote.http11.filters.ChunkedInputFilter) SavedRequestInputFilter(org.apache.coyote.http11.filters.SavedRequestInputFilter) SavedRequestInputFilter(org.apache.coyote.http11.filters.SavedRequestInputFilter)

Aggregations

BufferedInputFilter (org.apache.coyote.http11.filters.BufferedInputFilter)1 ChunkedInputFilter (org.apache.coyote.http11.filters.ChunkedInputFilter)1 IdentityInputFilter (org.apache.coyote.http11.filters.IdentityInputFilter)1 SavedRequestInputFilter (org.apache.coyote.http11.filters.SavedRequestInputFilter)1 VoidInputFilter (org.apache.coyote.http11.filters.VoidInputFilter)1