Package akka.http.impl.engine.http2
Interface Http2Multiplexer
-
public interface Http2MultiplexerINTERNAL APIThe internal interface Http2ServerDemux uses to drive the multiplexer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcloseStream(int streamId)intcurrentInitialWindow()voidenqueueOutStream(int streamId)booleanhasFlushedAllData()intmaxBytesToBufferPerSubstream()voidpushControlFrame(FrameEvent frame)voidreportTimings()booleanupdateConnectionLevelWindow(int increment)voidupdateDefaultWindow(int newDefaultWindow)voidupdateMaxFrameSize(int newMaxFrameSize)voidupdatePriority(FrameEvent.PriorityFrame priorityFrame)
-
-
-
Method Detail
-
closeStream
void closeStream(int streamId)
-
currentInitialWindow
int currentInitialWindow()
-
enqueueOutStream
void enqueueOutStream(int streamId)
-
hasFlushedAllData
boolean hasFlushedAllData()
-
maxBytesToBufferPerSubstream
int maxBytesToBufferPerSubstream()
-
pushControlFrame
void pushControlFrame(FrameEvent frame)
-
reportTimings
void reportTimings()
-
updateConnectionLevelWindow
boolean updateConnectionLevelWindow(int increment)
- Parameters:
increment- (undocumented)- Returns:
- true if the increment was applied, false if it would have made the connection-level window exceed the maximum allowed value (2^31-1), in which case the window was left untouched
-
updateDefaultWindow
void updateDefaultWindow(int newDefaultWindow)
-
updateMaxFrameSize
void updateMaxFrameSize(int newMaxFrameSize)
-
updatePriority
void updatePriority(FrameEvent.PriorityFrame priorityFrame)
-
-