- All Implemented Interfaces:
- org.apache.pekko.stream.Graph<org.apache.pekko.stream.FlowShape<ParserOutput.RequestOutput,HttpRequest>,org.apache.pekko.NotUsed>
- Enclosing class:
- HttpServerBluePrint
public static final class HttpServerBluePrint.PrepareRequests
extends org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<ParserOutput.RequestOutput,HttpRequest>>
Two state stage, either transforms an incoming RequestOutput into a HttpRequest with strict entity and then pushes
that (the "idle" inHandler) or creates a HttpRequest with a streamed entity and switch to a state which will push
incoming chunks into the streaming entity until end of request is reached (the StreamedEntityCreator case in create
entity).