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 int
dataBytes
private int
dataRemaining
private int
frameBytes
private int
frameRemaining
-
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 boolean
generate(org.eclipse.jetty.io.ByteBufferPool.Lease lease)
int
getDataBytesRemaining()
int
getFrameBytesGenerated()
long
onFlushed(long bytes)
void
succeeded()
-
Methods inherited from class org.eclipse.jetty.http2.HTTP2Flusher.Entry
commit, failed, hasHighPriority, toString
-
-
-
-
Method Detail
-
getFrameBytesGenerated
public int getFrameBytesGenerated()
- Specified by:
getFrameBytesGenerated
in classHTTP2Flusher.Entry
-
getDataBytesRemaining
public int getDataBytesRemaining()
- Overrides:
getDataBytesRemaining
in classHTTP2Flusher.Entry
-
generate
protected boolean generate(org.eclipse.jetty.io.ByteBufferPool.Lease lease)
- Specified by:
generate
in classHTTP2Flusher.Entry
-
onFlushed
public long onFlushed(long bytes) throws java.io.IOException
- Specified by:
onFlushed
in classHTTP2Flusher.Entry
- Throws:
java.io.IOException
-
succeeded
public void succeeded()
- Specified by:
succeeded
in interfaceorg.eclipse.jetty.util.Callback
- Overrides:
succeeded
in classorg.eclipse.jetty.util.Callback.Nested
-
-