|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectCADI.Server.Request.RequestQueueNode
public class RequestQueueNode
This is an auxiliary class used to save the socket, the HTTP request line,
and the HTTP request headers for each client in the RequestQueue
.
RequestQueue| Field Summary | |
|---|---|
protected HTTPRequest |
httpRequest
Is the HTTP request sent by the client. |
protected java.net.Socket |
socket
Contains the client socket. |
| Constructor Summary | |
|---|---|
RequestQueueNode(java.net.Socket socket,
HTTPRequest httpRequest)
Constructor. |
|
| Method Summary | |
|---|---|
HTTPRequest |
getHTTPRequest()
Returns the httpRequest attribute. |
java.net.Socket |
getSocket()
Returns the client socket. |
void |
list(java.io.PrintStream out)
Prints this Request queue node fields out to the specified output stream. |
void |
reset()
Set attributes to its initials values. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.net.Socket socket
protected HTTPRequest httpRequest
| Constructor Detail |
|---|
public RequestQueueNode(java.net.Socket socket,
HTTPRequest httpRequest)
socket - definition in socket.httpRequest - definition in httpRequest.| Method Detail |
|---|
public java.net.Socket getSocket()
public HTTPRequest getHTTPRequest()
httpRequest attribute.
httpRequest attribute.public void reset()
public java.lang.String toString()
toString in class java.lang.Objectpublic void list(java.io.PrintStream out)
out - an output stream.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||