org.eclipse.jetty.server.handler
Class ProxyHandler.ProxyToServerConnection
java.lang.Object
org.eclipse.jetty.server.handler.ProxyHandler.ProxyToServerConnection
- All Implemented Interfaces:
- Connection
- Enclosing class:
- ProxyHandler
public class ProxyHandler.ProxyToServerConnection
- extends Object
- implements Connection
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyHandler.ProxyToServerConnection
public ProxyHandler.ProxyToServerConnection(ConcurrentMap<String,Object> context,
Buffer data)
handle
public Connection handle()
throws IOException
- Description copied from interface:
Connection
- Handle the connection.
- Specified by:
handle
in interface Connection
- Returns:
- The Connection to use for the next handling of the connection.
This allows protocol upgrades and support for CONNECT.
- Throws:
IOException
setConnection
public void setConnection(ProxyHandler.ClientToProxyConnection connection)
getTimeStamp
public long getTimeStamp()
- Specified by:
getTimeStamp
in interface Connection
setTimeStamp
public void setTimeStamp(long timestamp)
setEndPoint
public void setEndPoint(SelectChannelEndPoint endpoint)
isIdle
public boolean isIdle()
- Specified by:
isIdle
in interface Connection
isSuspended
public boolean isSuspended()
- Specified by:
isSuspended
in interface Connection
ready
public void ready()
waitReady
public void waitReady(long timeout)
throws IOException
- Throws:
IOException
closeClient
public void closeClient()
throws IOException
- Throws:
IOException
closeServer
public void closeServer()
throws IOException
- Throws:
IOException
close
public void close()
Copyright © 1995-2010 Mort Bay Consulting. All Rights Reserved.