public class ConnectHandler.ClientToProxyConnection extends Object implements org.eclipse.jetty.io.nio.AsyncConnection
| Constructor and Description |
|---|
ConnectHandler.ClientToProxyConnection(ConcurrentMap<String,Object> context,
SocketChannel channel,
org.eclipse.jetty.io.EndPoint endPoint,
long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
closeClient() |
void |
closeServer() |
long |
getTimeStamp() |
org.eclipse.jetty.io.Connection |
handle() |
boolean |
isIdle() |
boolean |
isSuspended() |
void |
onClose() |
void |
onIdleExpired(long idleForMs) |
void |
onInputShutdown() |
void |
setConnection(ConnectHandler.ProxyToServerConnection connection) |
void |
shutdownOutput() |
String |
toString() |
public ConnectHandler.ClientToProxyConnection(ConcurrentMap<String,Object> context, SocketChannel channel, org.eclipse.jetty.io.EndPoint endPoint, long timestamp)
public org.eclipse.jetty.io.Connection handle()
throws IOException
handle in interface org.eclipse.jetty.io.ConnectionIOExceptionpublic void onInputShutdown()
throws IOException
onInputShutdown in interface org.eclipse.jetty.io.nio.AsyncConnectionIOExceptionpublic long getTimeStamp()
getTimeStamp in interface org.eclipse.jetty.io.Connectionpublic boolean isIdle()
isIdle in interface org.eclipse.jetty.io.Connectionpublic boolean isSuspended()
isSuspended in interface org.eclipse.jetty.io.Connectionpublic void onClose()
onClose in interface org.eclipse.jetty.io.Connectionpublic void setConnection(ConnectHandler.ProxyToServerConnection connection)
public void closeClient()
throws IOException
IOExceptionpublic void closeServer()
throws IOException
IOExceptionpublic void close()
public void shutdownOutput()
throws IOException
IOExceptionpublic void onIdleExpired(long idleForMs)
onIdleExpired in interface org.eclipse.jetty.io.ConnectionCopyright © 1995-2016 Mort Bay Consulting. All Rights Reserved.