Class AsyncServerPipeline
java.lang.Object
org.apache.hc.core5.http.nio.support.AsyncServerPipeline
Server side execution pipeline assembler that supplies
AsyncServerExchangeHandler instances
with the defined message exchange pipeline.
Please note that AsyncServerExchangeHandler are stateful and may not be used concurrently
by multiple message exchanges or re-used for subsequent message exchanges.
- Since:
- 5.5
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classExchange completion stage.static classException handling stage.static classRequest content processing stage.static classRequest handling stage.static classResponse content generation stage.static classResponse message stage. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AsyncServerPipelineassemble()request()Configures the pipeline to process the incoming request message stream.Configures the pipeline to process the incoming request message stream provided the request method of the incoming message is allowed.request(Validator<HttpRequest> requestValidator) Configures the pipeline to process the incoming request message stream provided the request message passes the validation.
-
Constructor Details
-
AsyncServerPipeline
public AsyncServerPipeline()
-
-
Method Details
-
assemble
-
request
Configures the pipeline to process the incoming request message stream provided the request message passes the validation. -
request
Configures the pipeline to process the incoming request message stream provided the request method of the incoming message is allowed. -
request
Configures the pipeline to process the incoming request message stream.
-