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 void
failed(java.lang.Throwable x)
Callback invoked when the operation fails.protected abstract boolean
generate(ByteBufferPool.Lease lease)
int
getDataBytesRemaining()
abstract int
getFrameBytesGenerated()
abstract long
onFlushed(long bytes)
java.lang.String
toString()
-
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:Callback
Callback invoked when the operation fails.
- Specified by:
failed
in interfaceCallback
- Overrides:
failed
in classCallback.Nested
- Parameters:
x
- the reason for the operation failure
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-