Class HttpServerBluePrint.PrepareRequests
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.RequestOutput,HttpRequest>>
org.apache.pekko.http.impl.engine.server.HttpServerBluePrint.PrepareRequests
- 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).
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.pekko.stream.Graph
org.apache.pekko.stream.Graph.GraphMapMatVal<S extends org.apache.pekko.stream.Shape,M extends Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pekko.stream.stage.GraphStageLogiccreateLogic(org.apache.pekko.stream.Attributes inheritedAttributes) org.apache.pekko.stream.Inlet<ParserOutput.RequestOutput>in()org.apache.pekko.stream.Outlet<HttpRequest>out()org.apache.pekko.stream.FlowShape<ParserOutput.RequestOutput,HttpRequest> shape()Methods inherited from class org.apache.pekko.stream.stage.GraphStage
createLogicAndMaterializedValueMethods inherited from class org.apache.pekko.stream.stage.GraphStageWithMaterializedValue
addAttributes, async, async, async, createLogicAndMaterializedValue, getAttributes, initialAttributes, named, traversalBuilder, withAttributes
-
Constructor Details
-
PrepareRequests
-
-
Method Details
-
createLogic
public org.apache.pekko.stream.stage.GraphStageLogic createLogic(org.apache.pekko.stream.Attributes inheritedAttributes) - Specified by:
createLogicin classorg.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<ParserOutput.RequestOutput,HttpRequest>>
-
in
-
out
-
shape
-