Package org.eclipse.jetty.http2
Class HTTP2Session.DataEntry
- java.lang.Object
-
- org.eclipse.jetty.util.Callback.Completing
-
- org.eclipse.jetty.util.Callback.Nested
-
- org.eclipse.jetty.http2.HTTP2Flusher.Entry
-
- org.eclipse.jetty.http2.HTTP2Session.DataEntry
-
- All Implemented Interfaces:
org.eclipse.jetty.util.Callback,org.eclipse.jetty.util.thread.Invocable
- Enclosing class:
- HTTP2Session
private class HTTP2Session.DataEntry extends HTTP2Flusher.Entry
-
-
Field Summary
Fields Modifier and Type Field Description private intdataBytesprivate intdataRemainingprivate intframeBytesprivate intframeRemaining-
Fields inherited from class org.eclipse.jetty.http2.HTTP2Flusher.Entry
frame, stream
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleangenerate(org.eclipse.jetty.io.ByteBufferPool.Lease lease)intgetDataBytesRemaining()intgetFrameBytesGenerated()longonFlushed(long bytes)voidsucceeded()-
Methods inherited from class org.eclipse.jetty.http2.HTTP2Flusher.Entry
commit, failed, hasHighPriority, toString
-
-
-
-
Method Detail
-
getFrameBytesGenerated
public int getFrameBytesGenerated()
- Specified by:
getFrameBytesGeneratedin classHTTP2Flusher.Entry
-
getDataBytesRemaining
public int getDataBytesRemaining()
- Overrides:
getDataBytesRemainingin classHTTP2Flusher.Entry
-
generate
protected boolean generate(org.eclipse.jetty.io.ByteBufferPool.Lease lease)
- Specified by:
generatein classHTTP2Flusher.Entry
-
onFlushed
public long onFlushed(long bytes) throws java.io.IOException- Specified by:
onFlushedin classHTTP2Flusher.Entry- Throws:
java.io.IOException
-
succeeded
public void succeeded()
- Specified by:
succeededin interfaceorg.eclipse.jetty.util.Callback- Overrides:
succeededin classorg.eclipse.jetty.util.Callback.Nested
-
-