Class OutgoingConnectionBlueprint.PrepareResponse

java.lang.Object
akka.stream.stage.GraphStageWithMaterializedValue<S,akka.NotUsed>
akka.stream.stage.GraphStage<akka.stream.FlowShape<ParserOutput.ResponseOutput,HttpResponse>>
akka.http.impl.engine.client.OutgoingConnectionBlueprint.PrepareResponse
All Implemented Interfaces:
akka.stream.Graph<akka.stream.FlowShape<ParserOutput.ResponseOutput,HttpResponse>,akka.NotUsed>
Enclosing class:
OutgoingConnectionBlueprint

public static final class OutgoingConnectionBlueprint.PrepareResponse extends akka.stream.stage.GraphStage<akka.stream.FlowShape<ParserOutput.ResponseOutput,HttpResponse>>
This is essentially a three state state machine, it is either 'idle' - waiting for a response to come in or has seen the start of a response and is waiting for either chunks followed by MessageEnd if chunked or just MessageEnd in the case of a strict response.

For chunked responses a new substream into the response entity is opened and data is streamed there instead of downstream until end of chunks has been reached.

  • 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    akka.stream.stage.GraphStageLogic
    createLogic(akka.stream.Attributes effectiveAttributes)
     
     

    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