Package org.apache.hc.core5.http.nio
Interface AsyncFilterChain
AsyncFilterChain represents a single element in the server side request processing chain.
- Since:
- 5.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Response trigger that can be used to generate the final HTTP response and terminate HTTP request processing. -
Method Summary
Modifier and TypeMethodDescriptionproceed
(HttpRequest request, EntityDetails entityDetails, HttpContext context, AsyncFilterChain.ResponseTrigger responseTrigger) Proceeds to the next element in the request processing chain.
-
Method Details
-
proceed
AsyncDataConsumer proceed(HttpRequest request, EntityDetails entityDetails, HttpContext context, AsyncFilterChain.ResponseTrigger responseTrigger) throws HttpException, IOException Proceeds to the next element in the request processing chain.- Parameters:
request
- the actual request.entityDetails
- the request entity details ornull
if the request does not enclose an entity.context
- the actual execution context.responseTrigger
- the response trigger.- Throws:
HttpException
IOException
-