Package org.eclipse.jetty.http2
Class HTTP2Session.DataCallback
- java.lang.Object
-
- org.eclipse.jetty.util.Callback.Completing
-
- org.eclipse.jetty.util.Callback.Nested
-
- org.eclipse.jetty.http2.HTTP2Session.DataCallback
-
- All Implemented Interfaces:
org.eclipse.jetty.util.Callback,org.eclipse.jetty.util.thread.Invocable
- Enclosing class:
- HTTP2Session
private class HTTP2Session.DataCallback extends org.eclipse.jetty.util.Callback.Nested
-
-
Field Summary
Fields Modifier and Type Field Description private intflowControlLengthprivate IStreamstream
-
Constructor Summary
Constructors Constructor Description DataCallback(org.eclipse.jetty.util.Callback callback, IStream stream, int flowControlLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidcomplete()voidfailed(java.lang.Throwable x)voidsucceeded()
-
-
-
Field Detail
-
stream
private final IStream stream
-
flowControlLength
private final int flowControlLength
-
-
Constructor Detail
-
DataCallback
public DataCallback(org.eclipse.jetty.util.Callback callback, IStream stream, int flowControlLength)
-
-
Method Detail
-
succeeded
public void succeeded()
- Specified by:
succeededin interfaceorg.eclipse.jetty.util.Callback- Overrides:
succeededin classorg.eclipse.jetty.util.Callback.Nested
-
failed
public void failed(java.lang.Throwable x)
- Specified by:
failedin interfaceorg.eclipse.jetty.util.Callback- Overrides:
failedin classorg.eclipse.jetty.util.Callback.Nested
-
complete
private void complete()
-
-