ConnectHandler.DownstreamConnection, ConnectHandler.UpstreamConnectionpublic abstract class ProxyConnection
extends org.eclipse.jetty.io.AbstractConnection
| Modifier and Type | Field | Description |
|---|---|---|
protected static org.eclipse.jetty.util.log.Logger |
LOG |
| Modifier | Constructor | Description |
|---|---|---|
protected |
ProxyConnection(org.eclipse.jetty.io.EndPoint endp,
java.util.concurrent.Executor executor,
org.eclipse.jetty.io.ByteBufferPool bufferPool,
java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.Object> context) |
| Modifier and Type | Method | Description |
|---|---|---|
org.eclipse.jetty.io.ByteBufferPool |
getByteBufferPool() |
|
org.eclipse.jetty.io.Connection |
getConnection() |
|
java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.Object> |
getContext() |
|
void |
onFillable() |
|
protected abstract int |
read(org.eclipse.jetty.io.EndPoint endPoint,
java.nio.ByteBuffer buffer) |
|
void |
setConnection(org.eclipse.jetty.io.Connection connection) |
|
java.lang.String |
toConnectionString() |
|
protected abstract void |
write(org.eclipse.jetty.io.EndPoint endPoint,
java.nio.ByteBuffer buffer,
org.eclipse.jetty.util.Callback callback) |
addListener, close, failedCallback, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isFillInterested, onClose, onFillInterestedFailed, onIdleExpired, onOpen, onReadTimeout, removeListener, setInputBufferSize, toString, tryFillInterested, tryFillInterestedprotected ProxyConnection(org.eclipse.jetty.io.EndPoint endp,
java.util.concurrent.Executor executor,
org.eclipse.jetty.io.ByteBufferPool bufferPool,
java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.Object> context)
public org.eclipse.jetty.io.ByteBufferPool getByteBufferPool()
public java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.Object> getContext()
public org.eclipse.jetty.io.Connection getConnection()
public void setConnection(org.eclipse.jetty.io.Connection connection)
public void onFillable()
onFillable in class org.eclipse.jetty.io.AbstractConnectionprotected abstract int read(org.eclipse.jetty.io.EndPoint endPoint,
java.nio.ByteBuffer buffer)
throws java.io.IOException
java.io.IOExceptionprotected abstract void write(org.eclipse.jetty.io.EndPoint endPoint,
java.nio.ByteBuffer buffer,
org.eclipse.jetty.util.Callback callback)
public java.lang.String toConnectionString()
toConnectionString in class org.eclipse.jetty.io.AbstractConnectionCopyright © 1995–2018 Webtide. All rights reserved.