Class OutgoingConnectionBlueprint.PrepareResponse
java.lang.Object
org.apache.pekko.stream.stage.GraphStageWithMaterializedValue<S,org.apache.pekko.NotUsed>
 
org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<ParserOutput.ResponseOutput,HttpResponse>>
 
org.apache.pekko.http.impl.engine.client.OutgoingConnectionBlueprint.PrepareResponse
- All Implemented Interfaces:
- org.apache.pekko.stream.Graph<org.apache.pekko.stream.FlowShape<ParserOutput.ResponseOutput,- HttpResponse>, - org.apache.pekko.NotUsed> 
- Enclosing class:
- OutgoingConnectionBlueprint
public static final class OutgoingConnectionBlueprint.PrepareResponse
extends org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<ParserOutput.ResponseOutput,HttpResponse>> 
This is essentially a three state state machine, it is either 'idle' - waiting for a response to come in
 or has seen the start of a response and is waiting for either chunks followed by MessageEnd if chunked
 or just MessageEnd in the case of a strict response.
 
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.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.pekko.stream.Graphorg.apache.pekko.stream.Graph.GraphMapMatVal<S extends org.apache.pekko.stream.Shape,M extends Object> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionorg.apache.pekko.stream.stage.GraphStageLogiccreateLogic(org.apache.pekko.stream.Attributes effectiveAttributes) org.apache.pekko.stream.FlowShape<ParserOutput.ResponseOutput,HttpResponse> shape()Methods inherited from class org.apache.pekko.stream.stage.GraphStagecreateLogicAndMaterializedValueMethods inherited from class org.apache.pekko.stream.stage.GraphStageWithMaterializedValueaddAttributes, async, async, async, createLogicAndMaterializedValue, getAttributes, initialAttributes, named, traversalBuilder, withAttributes
- 
Constructor Details- 
PrepareResponse
 
- 
- 
Method Details- 
createLogicpublic org.apache.pekko.stream.stage.GraphStageLogic createLogic(org.apache.pekko.stream.Attributes effectiveAttributes) - Specified by:
- createLogicin class- org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<ParserOutput.ResponseOutput,- HttpResponse>> 
 
- 
shape
 
-