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 SummaryConstructorsConstructorDescriptionCollectingIncomingData(FrameEvent.ParsedHeadersFrame headers, scala.collection.immutable.Map<AttributeKey<?>, Object> correlationAttributes, org.apache.pekko.util.ByteString collectedData, int extraInitialWindow) 
- 
Method SummaryModifier 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.ReceivingDatahandleMethods inherited from class org.apache.pekko.http.impl.engine.http2.Http2StreamHandling.StreamStatedispatchStream, expectIncomingStream, handleOutgoingCreated, handleOutgoingCreatedAndFinished, handleOutgoingEnded, handleOutgoingFailed, incomingStreamPulled, pullNextFrame, receivedUnexpectedFrame, shutdown, stateNameMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.EqualscanEqual, equalsMethods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator, productPrefix
- 
Constructor Details- 
CollectingIncomingDatapublic CollectingIncomingData(FrameEvent.ParsedHeadersFrame headers, scala.collection.immutable.Map<AttributeKey<?>, Object> correlationAttributes, org.apache.pekko.util.ByteString collectedData, int extraInitialWindow) 
 
- 
- 
Method Details- 
headers
- 
correlationAttributes
- 
collectedDatapublic org.apache.pekko.util.ByteString collectedData()
- 
extraInitialWindowpublic int extraInitialWindow()
- 
onDataFrame- Specified by:
- onDataFramein class- Http2StreamHandling.ReceivingData
 
- 
onTrailerprotected Http2StreamHandling.StreamState onTrailer(FrameEvent.ParsedHeadersFrame parsedHeadersFrame) - Specified by:
- onTrailerin class- Http2StreamHandling.ReceivingData
 
- 
incrementWindow- Specified by:
- incrementWindowin class- Http2StreamHandling.ReceivingData
 
- 
onRstStreamFrame- Specified by:
- onRstStreamFramein class- Http2StreamHandling.ReceivingData
 
 
-