org.eclipse.jetty.server.handler
Class ConnectHandler.ClientToProxyConnection

java.lang.Object
  extended by org.eclipse.jetty.server.handler.ConnectHandler.ClientToProxyConnection
All Implemented Interfaces:
Connection, AsyncConnection
Enclosing class:
ConnectHandler

public class ConnectHandler.ClientToProxyConnection
extends Object
implements AsyncConnection


Constructor Summary
ConnectHandler.ClientToProxyConnection(ConcurrentMap<String,Object> context, SocketChannel channel, EndPoint endPoint, long timestamp)
           
 
Method Summary
 void close()
           
 void closeClient()
           
 void closeServer()
           
 long getTimeStamp()
           
 Connection handle()
           
 boolean isIdle()
           
 boolean isSuspended()
           
 void onClose()
           
 void onIdleExpired(long idleForMs)
           
 void onInputShutdown()
           
 void setConnection(ConnectHandler.ProxyToServerConnection connection)
           
 void shutdownOutput()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectHandler.ClientToProxyConnection

public ConnectHandler.ClientToProxyConnection(ConcurrentMap<String,Object> context,
                                              SocketChannel channel,
                                              EndPoint endPoint,
                                              long timestamp)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

handle

public Connection handle()
                  throws IOException
Specified by:
handle in interface Connection
Throws:
IOException

onInputShutdown

public void onInputShutdown()
                     throws IOException
Specified by:
onInputShutdown in interface AsyncConnection
Throws:
IOException

getTimeStamp

public long getTimeStamp()
Specified by:
getTimeStamp in interface Connection

isIdle

public boolean isIdle()
Specified by:
isIdle in interface Connection

isSuspended

public boolean isSuspended()
Specified by:
isSuspended in interface Connection

onClose

public void onClose()
Specified by:
onClose in interface 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(long idleForMs)
Specified by:
onIdleExpired in interface Connection


Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.