|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServerRequest
Protocol specific information for each request. ServerRequest is reused to reduce memory allocations.
ServerRequests are created by Server.createRequest()
| Method Summary | |
|---|---|
boolean |
handleRequest()
Handles a new connection. |
boolean |
handleResume()
Resumes processing after a wait. |
void |
init()
Initialize the connection. |
boolean |
isWaitForRead()
Return true if the connection should wait for a read before handling the request. |
void |
protocolCloseEvent()
Handles a close event when the connection is closed. |
void |
startConnection()
Called when the connection starts, i.e. |
| Method Detail |
|---|
void init()
boolean isWaitForRead()
void startConnection()
boolean handleRequest()
throws java.io.IOException
java.io.IOException
boolean handleResume()
throws java.io.IOException
java.io.IOExceptionvoid protocolCloseEvent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||