org.eclipse.jetty.server.handler
Class ConnectHandler.ClientToProxyConnection
java.lang.Object
org.eclipse.jetty.server.handler.ConnectHandler.ClientToProxyConnection
- All Implemented Interfaces:
- org.eclipse.jetty.io.Connection, org.eclipse.jetty.io.nio.AsyncConnection
- Enclosing class:
- ConnectHandler
public class ConnectHandler.ClientToProxyConnection
- extends Object
- implements org.eclipse.jetty.io.nio.AsyncConnection
ConnectHandler.ClientToProxyConnection
public ConnectHandler.ClientToProxyConnection(ConcurrentMap<String,Object> context,
SocketChannel channel,
org.eclipse.jetty.io.EndPoint endPoint,
long timestamp)
toString
public String toString()
- Overrides:
toString in class Object
handle
public org.eclipse.jetty.io.Connection handle()
throws IOException
- Specified by:
handle in interface org.eclipse.jetty.io.Connection
- Throws:
IOException
onInputShutdown
public void onInputShutdown()
throws IOException
- Specified by:
onInputShutdown in interface org.eclipse.jetty.io.nio.AsyncConnection
- Throws:
IOException
getTimeStamp
public long getTimeStamp()
- Specified by:
getTimeStamp in interface org.eclipse.jetty.io.Connection
isIdle
public boolean isIdle()
- Specified by:
isIdle in interface org.eclipse.jetty.io.Connection
isSuspended
public boolean isSuspended()
- Specified by:
isSuspended in interface org.eclipse.jetty.io.Connection
onClose
public void onClose()
- Specified by:
onClose in interface org.eclipse.jetty.io.Connection
setConnection
public void setConnection(ConnectHandler.ProxyToServerConnection connection)
closeClient
public void closeClient()
throws IOException
- Throws:
IOException
closeServer
public void closeServer()
throws IOException
- Throws:
IOException
close
public void close()
shutdownOutput
public void shutdownOutput()
throws IOException
- Throws:
IOException
onIdleExpired
public void onIdleExpired()
- Specified by:
onIdleExpired in interface org.eclipse.jetty.io.Connection
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.