com.caucho.server.http
Class HttpProtocol

java.lang.Object
  extended by com.caucho.network.listen.AbstractProtocol
      extended by com.caucho.server.http.AbstractHttpProtocol
          extended by com.caucho.server.http.HttpProtocol
All Implemented Interfaces:
Protocol

public class HttpProtocol
extends AbstractHttpProtocol

The main class for the HTTP server.

TcpServer handles the main thread control. HttpServer just needs to create the right kind of request when a new thread is spawned.

See Also:
com.caucho.server.TcpServer

Constructor Summary
HttpProtocol()
           
 
Method Summary
 ProtocolConnection createConnection(SocketLink conn)
          Create a HttpRequest object for the new thread.
 
Methods inherited from class com.caucho.server.http.AbstractHttpProtocol
getServletSystem
 
Methods inherited from class com.caucho.network.listen.AbstractProtocol
getClassLoader, getProtocolName, setProtocolName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpProtocol

public HttpProtocol()
Method Detail

createConnection

public ProtocolConnection createConnection(SocketLink conn)
Create a HttpRequest object for the new thread.

Specified by:
createConnection in interface Protocol
Specified by:
createConnection in class AbstractProtocol