Module org.eclipse.jetty.proxy
Package org.eclipse.jetty.proxy
Class ConnectHandler.DownstreamConnection
java.lang.Object
org.eclipse.jetty.io.AbstractConnection
org.eclipse.jetty.proxy.ProxyConnection
org.eclipse.jetty.proxy.ConnectHandler.DownstreamConnection
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.eclipse.jetty.io.Connection
,org.eclipse.jetty.io.Connection.UpgradeTo
- Enclosing class:
- ConnectHandler
public class ConnectHandler.DownstreamConnection
extends ProxyConnection
implements org.eclipse.jetty.io.Connection.UpgradeTo
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.Connection
org.eclipse.jetty.io.Connection.Listener, org.eclipse.jetty.io.Connection.UpgradeFrom, org.eclipse.jetty.io.Connection.UpgradeTo
-
Field Summary
Fields inherited from class org.eclipse.jetty.proxy.ProxyConnection
LOG
-
Constructor Summary
ConstructorsConstructorDescriptionDownstreamConnection
(org.eclipse.jetty.io.EndPoint endPoint, Executor executor, org.eclipse.jetty.io.ByteBufferPool bufferPool, ConcurrentMap<String, Object> context) -
Method Summary
Modifier and TypeMethodDescriptionvoid
onOpen()
void
onUpgradeTo
(ByteBuffer buffer) protected int
read
(org.eclipse.jetty.io.EndPoint endPoint, ByteBuffer buffer) protected void
write
(org.eclipse.jetty.io.EndPoint endPoint, ByteBuffer buffer, org.eclipse.jetty.util.Callback callback) Methods inherited from class org.eclipse.jetty.proxy.ProxyConnection
close, getByteBufferPool, getConnection, getContext, onFillable, setConnection, toConnectionString
Methods inherited from class org.eclipse.jetty.io.AbstractConnection
addEventListener, close, failedCallback, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isFillInterested, onClose, onFillInterestedFailed, onIdleExpired, onReadTimeout, removeEventListener, setInputBufferSize, toString, tryFillInterested, tryFillInterested
-
Constructor Details
-
DownstreamConnection
public DownstreamConnection(org.eclipse.jetty.io.EndPoint endPoint, Executor executor, org.eclipse.jetty.io.ByteBufferPool bufferPool, ConcurrentMap<String, Object> context)
-
-
Method Details
-
onUpgradeTo
- Specified by:
onUpgradeTo
in interfaceorg.eclipse.jetty.io.Connection.UpgradeTo
-
onOpen
public void onOpen()- Specified by:
onOpen
in interfaceorg.eclipse.jetty.io.Connection
- Overrides:
onOpen
in classorg.eclipse.jetty.io.AbstractConnection
-
read
- Specified by:
read
in classProxyConnection
- Throws:
IOException
-
write
protected void write(org.eclipse.jetty.io.EndPoint endPoint, ByteBuffer buffer, org.eclipse.jetty.util.Callback callback) - Specified by:
write
in classProxyConnection
-