Save This Page
Home » commons-httpclient-3.1-src » org.apache.commons » httpclient » server » [javadoc | source]
org.apache.commons.httpclient.server
public class: SimpleHttpServerConnection [javadoc | source]
java.lang.Object
   org.apache.commons.httpclient.server.SimpleHttpServerConnection
A connection to the SimpleHttpServer.
Constructor:
 public SimpleHttpServerConnection(Socket socket) throws IOException 
Method from org.apache.commons.httpclient.server.SimpleHttpServerConnection Summary:
close,   getInputStream,   getOutputStream,   getSocketTimeout,   getWriter,   isKeepAlive,   isOpen,   readRequest,   readResponse,   setKeepAlive,   setSocketTimeout,   writeRequest,   writeResponse
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.commons.httpclient.server.SimpleHttpServerConnection Detail:
 public synchronized  void close() 
 public InputStream getInputStream() 
 public OutputStream getOutputStream() 
 public int getSocketTimeout() throws SocketException 
 public ResponseWriter getWriter() throws UnsupportedEncodingException 
    Returns the ResponseWriter used to write the output to the socket.
 public boolean isKeepAlive() 
 public synchronized boolean isOpen() 
 public SimpleRequest readRequest() throws IOException 
 public SimpleResponse readResponse() throws IOException 
 public  void setKeepAlive(boolean b) 
 public  void setSocketTimeout(int timeout) throws SocketException 
 public  void writeRequest(SimpleRequest request) throws IOException 
 public  void writeResponse(SimpleResponse response) throws IOException