|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.port.Protocol
com.caucho.server.http.HttpProtocol
public class HttpProtocol
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.
com.caucho.server.TcpServer| Constructor Summary | |
|---|---|
HttpProtocol()
|
|
| Method Summary | |
|---|---|
ServerRequest |
createRequest(Connection conn)
Create a HttpRequest object for the new thread. |
java.lang.String |
getProtocolName()
Returns the protocol name. |
void |
setProtocolName(java.lang.String name)
Sets the protocol name. |
| Methods inherited from class com.caucho.server.port.Protocol |
|---|
addText, getPort, getServer, setParent, setServer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpProtocol()
| Method Detail |
|---|
public java.lang.String getProtocolName()
getProtocolName in interface RequestFactorygetProtocolName in class Protocolpublic void setProtocolName(java.lang.String name)
setProtocolName in class Protocolpublic ServerRequest createRequest(Connection conn)
createRequest in interface RequestFactorycreateRequest in class Protocol
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||