Class 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 java.lang.Object>
    • 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()  
      • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait