Class Http2StreamHandling.CollectingIncomingData
java.lang.Object
org.apache.pekko.http.impl.engine.http2.Http2StreamHandling.StreamState
org.apache.pekko.http.impl.engine.http2.Http2StreamHandling.ReceivingData
org.apache.pekko.http.impl.engine.http2.Http2StreamHandling.CollectingIncomingData
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product
- Enclosing interface:
- Http2StreamHandling
public static class Http2StreamHandling.CollectingIncomingData
extends Http2StreamHandling.ReceivingData
implements scala.Product, Serializable
Special state that allows collecting some incoming data before dispatching it either as strict or streamed entity
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCollectingIncomingData(FrameEvent.ParsedHeadersFrame headers, scala.collection.immutable.Map<AttributeKey<?>, Object> correlationAttributes, org.apache.pekko.util.ByteString collectedData, int extraInitialWindow) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pekko.util.ByteStringscala.collection.immutable.Map<AttributeKey<?>,Object> intheaders()protected Http2StreamHandling.StreamStateincrementWindow(int delta) protected Http2StreamHandling.StreamStateonDataFrame(FrameEvent.DataFrame dataFrame) protected voidonRstStreamFrame(FrameEvent.RstStreamFrame rstStreamFrame) protected Http2StreamHandling.StreamStateonTrailer(FrameEvent.ParsedHeadersFrame parsedHeadersFrame) Methods inherited from class org.apache.pekko.http.impl.engine.http2.Http2StreamHandling.ReceivingData
handleMethods inherited from class org.apache.pekko.http.impl.engine.http2.Http2StreamHandling.StreamState
dispatchStream, expectIncomingStream, handleOutgoingCreated, handleOutgoingCreatedAndFinished, handleOutgoingEnded, handleOutgoingFailed, incomingStreamPulled, pullNextFrame, receivedUnexpectedFrame, shutdown, stateNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
CollectingIncomingData
public CollectingIncomingData(FrameEvent.ParsedHeadersFrame headers, scala.collection.immutable.Map<AttributeKey<?>, Object> correlationAttributes, org.apache.pekko.util.ByteString collectedData, int extraInitialWindow)
-
-
Method Details
-
headers
-
correlationAttributes
-
collectedData
public org.apache.pekko.util.ByteString collectedData() -
extraInitialWindow
public int extraInitialWindow() -
onDataFrame
- Specified by:
onDataFramein classHttp2StreamHandling.ReceivingData
-
onTrailer
protected Http2StreamHandling.StreamState onTrailer(FrameEvent.ParsedHeadersFrame parsedHeadersFrame) - Specified by:
onTrailerin classHttp2StreamHandling.ReceivingData
-
incrementWindow
- Specified by:
incrementWindowin classHttp2StreamHandling.ReceivingData
-
onRstStreamFrame
- Specified by:
onRstStreamFramein classHttp2StreamHandling.ReceivingData
-