public class HTTP2Connection
extends org.eclipse.jetty.io.AbstractConnection
| Modifier and Type | Class and Description |
|---|---|
protected class |
HTTP2Connection.HTTP2Producer |
| Modifier and Type | Field and Description |
|---|---|
protected static org.eclipse.jetty.util.log.Logger |
LOG |
| Constructor and Description |
|---|
HTTP2Connection(org.eclipse.jetty.io.ByteBufferPool byteBufferPool,
Executor executor,
org.eclipse.jetty.io.EndPoint endPoint,
Parser parser,
ISession session,
int bufferSize,
org.eclipse.jetty.util.thread.ExecutionStrategy.Factory executionFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getBytesIn() |
long |
getBytesOut() |
protected Parser |
getParser() |
ISession |
getSession() |
protected void |
offerTask(Runnable task,
boolean dispatch) |
void |
onClose() |
void |
onFillable() |
boolean |
onIdleExpired() |
void |
onOpen() |
protected void |
setInputBuffer(ByteBuffer buffer) |
addListener, failedCallback, fillInterested, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isDispatchIO, isFillInterested, onFillInterestedFailed, onReadTimeout, removeListener, setInputBufferSize, toString, tryFillInterested, tryFillInterestedpublic long getBytesIn()
getBytesIn in interface org.eclipse.jetty.io.ConnectiongetBytesIn in class org.eclipse.jetty.io.AbstractConnectionpublic long getBytesOut()
getBytesOut in interface org.eclipse.jetty.io.ConnectiongetBytesOut in class org.eclipse.jetty.io.AbstractConnectionpublic ISession getSession()
protected Parser getParser()
protected void setInputBuffer(ByteBuffer buffer)
public void onOpen()
onOpen in interface org.eclipse.jetty.io.ConnectiononOpen in class org.eclipse.jetty.io.AbstractConnectionpublic void onClose()
onClose in interface org.eclipse.jetty.io.ConnectiononClose in class org.eclipse.jetty.io.AbstractConnectionpublic void onFillable()
onFillable in class org.eclipse.jetty.io.AbstractConnectionpublic boolean onIdleExpired()
onIdleExpired in interface org.eclipse.jetty.io.ConnectiononIdleExpired in class org.eclipse.jetty.io.AbstractConnectionprotected void offerTask(Runnable task, boolean dispatch)
public void close()
close in interface Closeableclose in interface AutoCloseableclose in interface org.eclipse.jetty.io.Connectionclose in class org.eclipse.jetty.io.AbstractConnectionCopyright © 1995–2021 Webtide. All rights reserved.