Package org.eclipse.jetty.http2
Class HTTP2Flusher.Entry
- java.lang.Object
-
- org.eclipse.jetty.util.Callback.Completing
-
- org.eclipse.jetty.util.Callback.Nested
-
- org.eclipse.jetty.http2.HTTP2Flusher.Entry
-
- Enclosing class:
- HTTP2Flusher
public abstract static class HTTP2Flusher.Entry extends Callback.Nested
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Callback
Callback.Completable, Callback.Completing, Callback.Nested
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable
Invocable.InvocationType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidfailed(java.lang.Throwable x)Callback invoked when the operation fails.protected abstract booleangenerate(ByteBufferPool.Lease lease)intgetDataBytesRemaining()abstract intgetFrameBytesGenerated()abstract longonFlushed(long bytes)java.lang.StringtoString()-
Methods inherited from class org.eclipse.jetty.util.Callback.Nested
getCallback, getInvocationType, succeeded
-
Methods inherited from class org.eclipse.jetty.util.Callback.Completing
completed
-
-
-
-
Method Detail
-
getFrameBytesGenerated
public abstract int getFrameBytesGenerated()
-
getDataBytesRemaining
public int getDataBytesRemaining()
-
generate
protected abstract boolean generate(ByteBufferPool.Lease lease) throws HpackException
- Throws:
HpackException
-
onFlushed
public abstract long onFlushed(long bytes) throws java.io.IOException- Throws:
java.io.IOException
-
failed
public void failed(java.lang.Throwable x)
Description copied from interface:CallbackCallback invoked when the operation fails.
- Specified by:
failedin interfaceCallback- Overrides:
failedin classCallback.Nested- Parameters:
x- the reason for the operation failure
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-