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
-
- All Implemented Interfaces:
org.eclipse.jetty.util.Callback,org.eclipse.jetty.util.thread.Invocable
- Enclosing class:
- HTTP2Flusher
public abstract static class HTTP2Flusher.Entry extends org.eclipse.jetty.util.Callback.Nested
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidfailed(java.lang.Throwable x)protected abstract booleangenerate(org.eclipse.jetty.io.ByteBufferPool.Lease lease)intgetDataBytesRemaining()abstract intgetFrameBytesGenerated()abstract longonFlushed(long bytes)java.lang.StringtoString()
-
-
-
Method Detail
-
getFrameBytesGenerated
public abstract int getFrameBytesGenerated()
-
getDataBytesRemaining
public int getDataBytesRemaining()
-
generate
protected abstract boolean generate(org.eclipse.jetty.io.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)
- Specified by:
failedin interfaceorg.eclipse.jetty.util.Callback- Overrides:
failedin classorg.eclipse.jetty.util.Callback.Nested
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-