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).
-
-
Constructor Summary
Constructors Constructor Description PrepareRequests(ServerSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description akka.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()
-
-
-
Constructor Detail
-
PrepareRequests
public PrepareRequests(ServerSettings settings)
-
-
Method Detail
-
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
public akka.stream.Inlet<ParserOutput.RequestOutput> in()
-
out
public akka.stream.Outlet<HttpRequest> out()
-
shape
public akka.stream.FlowShape<ParserOutput.RequestOutput,HttpRequest> shape()
-
-