Package akka.http.impl.engine.server
Class HttpServerBluePrint.PrepareRequests
java.lang.Object
akka.stream.stage.GraphStageWithMaterializedValue<S,akka.NotUsed>
akka.stream.stage.GraphStage<akka.stream.FlowShape<ParserOutput.RequestOutput,HttpRequest>>
akka.http.impl.engine.server.HttpServerBluePrint.PrepareRequests
- All Implemented Interfaces:
akka.stream.Graph<akka.stream.FlowShape<ParserOutput.RequestOutput,
HttpRequest>, akka.NotUsed>
- Enclosing class:
- HttpServerBluePrint
public static final class HttpServerBluePrint.PrepareRequests
extends akka.stream.stage.GraphStage<akka.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 akka.stream.Graph
akka.stream.Graph.GraphMapMatVal<S extends akka.stream.Shape,
M extends Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionakka.stream.stage.GraphStageLogic
createLogic
(akka.stream.Attributes inheritedAttributes) akka.stream.Inlet<ParserOutput.RequestOutput>
in()
akka.stream.Outlet<HttpRequest>
out()
akka.stream.FlowShape<ParserOutput.RequestOutput,
HttpRequest> shape()
Methods inherited from class akka.stream.stage.GraphStage
createLogicAndMaterializedValue
Methods inherited from class akka.stream.stage.GraphStageWithMaterializedValue
addAttributes, async, async, async, createLogicAndMaterializedValue, getAttributes, initialAttributes, named, traversalBuilder, withAttributes
-
Constructor Details
-
PrepareRequests
-
-
Method Details
-
createLogic
public akka.stream.stage.GraphStageLogic createLogic(akka.stream.Attributes inheritedAttributes) - Specified by:
createLogic
in classakka.stream.stage.GraphStage<akka.stream.FlowShape<ParserOutput.RequestOutput,
HttpRequest>>
-
in
-
out
-
shape
-