| java.lang.Object com.caucho.server.port.AbstractServerRequest
AbstractServerRequest | abstract public class AbstractServerRequest implements ServerRequest(Code) | | Protocol specific information for each request. ServerRequest
is reused to reduce memory allocations.
ServerRequests are created by Server.createRequest()
|
Method Summary | |
public void | closeEvent() Handles a close event when the connection is closed. | abstract public boolean | handleRequest() Handles a new connection. | public void | init() Initialize the connection. |
closeEvent | public void closeEvent()(Code) | | Handles a close event when the connection is closed.
|
handleRequest | abstract public boolean handleRequest() throws IOException(Code) | | Handles a new connection. The controlling TcpServer may call
handleConnection again after the connection completes, so
the implementation must initialize any variables for each connection.
Parameters: conn - Information about the connection, including bufferedread and write streams. |
init | public void init()(Code) | | Initialize the connection. At this point, the current thread is the
connection thread.
|
|
|