Package org.eclipse.jetty.http2
Interface FlowControlStrategy
-
- All Known Implementing Classes:
AbstractFlowControlStrategy,BufferingFlowControlStrategy,SimpleFlowControlStrategy
public interface FlowControlStrategy
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceFlowControlStrategy.Factory
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_WINDOW_SIZE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonDataConsumed(ISession session, IStream stream, int length)voidonDataReceived(ISession session, IStream stream, int length)voidonDataSending(IStream stream, int length)voidonDataSent(IStream stream, int length)voidonStreamCreated(IStream stream)voidonStreamDestroyed(IStream stream)voidonWindowUpdate(ISession session, IStream stream, WindowUpdateFrame frame)voidupdateInitialStreamWindow(ISession session, int initialStreamWindow, boolean local)voidwindowUpdate(ISession session, IStream stream, WindowUpdateFrame frame)
-
-
-
Field Detail
-
DEFAULT_WINDOW_SIZE
static final int DEFAULT_WINDOW_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
onStreamCreated
void onStreamCreated(IStream stream)
-
onStreamDestroyed
void onStreamDestroyed(IStream stream)
-
updateInitialStreamWindow
void updateInitialStreamWindow(ISession session, int initialStreamWindow, boolean local)
-
onWindowUpdate
void onWindowUpdate(ISession session, IStream stream, WindowUpdateFrame frame)
-
windowUpdate
void windowUpdate(ISession session, IStream stream, WindowUpdateFrame frame)
-
onDataSending
void onDataSending(IStream stream, int length)
-
onDataSent
void onDataSent(IStream stream, int length)
-
-