org.eclipse.jetty.io.WriteFlusher.Listenerpublic class HTTP2Connection
extends org.eclipse.jetty.io.AbstractConnection
implements org.eclipse.jetty.io.WriteFlusher.Listener
| Modifier and Type | Class | Description |
|---|---|---|
protected class |
HTTP2Connection.HTTP2Producer |
| Modifier and Type | Field | Description |
|---|---|---|
protected static org.eclipse.jetty.util.log.Logger |
LOG |
| Constructor | Description |
|---|---|
HTTP2Connection(org.eclipse.jetty.io.ByteBufferPool byteBufferPool,
java.util.concurrent.Executor executor,
org.eclipse.jetty.io.EndPoint endPoint,
Parser parser,
ISession session,
int bufferSize) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
protected void |
dispatch() |
|
long |
getBytesIn() |
|
long |
getBytesOut() |
|
protected Parser |
getParser() |
|
ISession |
getSession() |
|
protected void |
offerTask(java.lang.Runnable task,
boolean dispatch) |
|
void |
onClose() |
|
void |
onFillable() |
|
void |
onFlushed(long bytes) |
|
boolean |
onIdleExpired() |
|
void |
onOpen() |
|
protected void |
produce() |
|
protected void |
setInputBuffer(java.nio.ByteBuffer buffer) |
addListener, failedCallback, fillInterested, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isFillInterested, onFillInterestedFailed, onReadTimeout, removeListener, setInputBufferSize, toConnectionString, toString, tryFillInterested, tryFillInterestedpublic long getBytesIn()
getBytesIn in class org.eclipse.jetty.io.AbstractConnectionpublic long getBytesOut()
getBytesOut in class org.eclipse.jetty.io.AbstractConnectionpublic ISession getSession()
protected Parser getParser()
protected void setInputBuffer(java.nio.ByteBuffer buffer)
public void onOpen()
onOpen in class org.eclipse.jetty.io.AbstractConnectionpublic void onClose()
onClose in class org.eclipse.jetty.io.AbstractConnectionpublic void onFillable()
onFillable in class org.eclipse.jetty.io.AbstractConnectionpublic boolean onIdleExpired()
onIdleExpired in class org.eclipse.jetty.io.AbstractConnectionprotected void offerTask(java.lang.Runnable task,
boolean dispatch)
protected void produce()
protected void dispatch()
public void close()
close in class org.eclipse.jetty.io.AbstractConnectionpublic void onFlushed(long bytes)
throws java.io.IOException
onFlushed in interface org.eclipse.jetty.io.WriteFlusher.Listenerjava.io.IOExceptionCopyright © 1995–2018 Webtide. All rights reserved.