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 interface
FlowControlStrategy.Factory
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_WINDOW_SIZE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onDataConsumed(ISession session, IStream stream, int length)
void
onDataReceived(ISession session, IStream stream, int length)
void
onDataSending(IStream stream, int length)
void
onDataSent(IStream stream, int length)
void
onStreamCreated(IStream stream)
void
onStreamDestroyed(IStream stream)
void
onWindowUpdate(ISession session, IStream stream, WindowUpdateFrame frame)
void
updateInitialStreamWindow(ISession session, int initialStreamWindow, boolean local)
void
windowUpdate(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)
-
-