AsyncServerPipeline.RequestHandlingStage<I,Message<HttpResponse,byte[]>> |
AsyncServerPipeline.ResponseContentStage.asByteArray(ContentType contentType) |
Configures the pipeline to represent the response message content as byre array.
|
AsyncServerPipeline.RequestHandlingStage<I,Message<HttpResponse,java.lang.String>> |
AsyncServerPipeline.ResponseContentStage.asString(ContentType contentType) |
Configures the pipeline to represent the response message content as a String.
|
<O> AsyncServerPipeline.RequestHandlingStage<I,O> |
AsyncServerPipeline.ResponseContentStage.produce(Resolver<O,AsyncResponseProducer> responseProducerResolver) |
Resolves AsyncResponseProducer to be used by the pipeline to generate the outgoing response
message stream based on the given response message object.
|
<O> AsyncServerPipeline.RequestHandlingStage<I,Message<HttpResponse,O>> |
AsyncServerPipeline.ResponseContentStage.produceContent(Resolver<O,AsyncEntityProducer> dataProducerResolver) |
Resolves AsyncEntityProducer to be used by the pipeline to generate the outgoing response
content stream based on the given response content object.
|