public static final class OutgoingConnectionBlueprint.PrepareResponse extends org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<ParserOutput.ResponseOutput,HttpResponse>>
For chunked responses a new substream into the response entity is opened and data is streamed there instead of downstream until end of chunks has been reached.
Constructor and Description |
---|
PrepareResponse(ParserSettings parserSettings) |
Modifier and Type | Method and Description |
---|---|
org.apache.pekko.stream.stage.GraphStageLogic |
createLogic(org.apache.pekko.stream.Attributes effectiveAttributes) |
org.apache.pekko.stream.FlowShape<ParserOutput.ResponseOutput,HttpResponse> |
shape() |
createLogicAndMaterializedValue
addAttributes, async, async, async, createLogicAndMaterializedValue, getAttributes, initialAttributes, named, traversalBuilder, withAttributes
public PrepareResponse(ParserSettings parserSettings)
public org.apache.pekko.stream.stage.GraphStageLogic createLogic(org.apache.pekko.stream.Attributes effectiveAttributes)
createLogic
in class org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<ParserOutput.ResponseOutput,HttpResponse>>
public org.apache.pekko.stream.FlowShape<ParserOutput.ResponseOutput,HttpResponse> shape()