|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.port.AbstractServerRequest
public abstract class AbstractServerRequest
Protocol specific information for each request. ServerRequest is reused to reduce memory allocations.
ServerRequests are created by Server.createRequest()
| Constructor Summary | |
|---|---|
AbstractServerRequest()
|
|
| Method Summary | |
|---|---|
void |
closeEvent()
Handles a close event when the connection is closed. |
abstract boolean |
handleRequest()
Handles a new connection. |
void |
init()
Initialize the connection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.caucho.server.port.ServerRequest |
|---|
handleResume, isWaitForRead, protocolCloseEvent, startConnection |
| Constructor Detail |
|---|
public AbstractServerRequest()
| Method Detail |
|---|
public void init()
init in interface ServerRequest
public abstract boolean handleRequest()
throws java.io.IOException
handleRequest in interface ServerRequestconn - Information about the connection, including buffered
read and write streams.
java.io.IOExceptionpublic void closeEvent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||