org.eclipse.jetty.server.handler
Class ConnectHandler.ProxyToServerConnection
java.lang.Object
org.eclipse.jetty.server.handler.ConnectHandler.ProxyToServerConnection
- All Implemented Interfaces:
- org.eclipse.jetty.io.Connection
- Enclosing class:
- ConnectHandler
public class ConnectHandler.ProxyToServerConnection
- extends Object
- implements org.eclipse.jetty.io.Connection
ConnectHandler.ProxyToServerConnection
public ConnectHandler.ProxyToServerConnection(ConcurrentMap<String,Object> context,
org.eclipse.jetty.io.Buffer data)
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
setConnection
public void setConnection(ConnectHandler.ClientToProxyConnection connection)
getTimeStamp
public long getTimeStamp()
- Specified by:
getTimeStamp in interface org.eclipse.jetty.io.Connection
setTimeStamp
public void setTimeStamp(long timestamp)
setEndPoint
public void setEndPoint(org.eclipse.jetty.io.nio.SelectChannelEndPoint endpoint)
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
closed
public void closed()
- Specified by:
closed in interface org.eclipse.jetty.io.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()
shutdownOutput
public void shutdownOutput()
throws IOException
- Throws:
IOException
idleExpired
public void idleExpired()
- Specified by:
idleExpired in interface org.eclipse.jetty.io.Connection
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.