org.mortbay.http
Class SocketChannelListener.Connection

java.lang.Object
  |
  +--org.mortbay.http.HttpConnection
        |
        +--org.mortbay.http.SocketChannelListener.Connection
All Implemented Interfaces:
OutputObserver
Enclosing class:
SocketChannelListener

public class SocketChannelListener.Connection
extends HttpConnection


Field Summary
 
Fields inherited from interface org.mortbay.util.OutputObserver
__CLOSED, __CLOSING, __COMMITING, __FIRST_WRITE, __RESET_BUFFER
 
Method Summary
 void close()
          Close the connection.
 java.nio.channels.SocketChannel getSocketChannel()
           
 
Methods inherited from class org.mortbay.http.HttpConnection
forceClose, getConnection, getDefaultScheme, getHttpServer, getHttpTunnel, getInputStream, getListener, getObject, getOutputStream, getRemoteAddr, getRemoteHost, getRemoteInetAddress, getRequest, getResponse, getServerName, getServerPort, handle, handleNext, isThrottled, outputNotify, setHttpTunnel, setObject, setThrottled
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSocketChannel

public java.nio.channels.SocketChannel getSocketChannel()

close

public void close()
           throws java.io.IOException
Description copied from class: HttpConnection
Close the connection. This method calls close on the input and output streams and interrupts any thread in the handle method. may be specialized to close sockets etc.

Overrides:
close in class HttpConnection
Throws:
java.io.IOException


Copyright ? 2000 Mortbay Consulting Pty. Ltd. All Rights Reserved.