|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.elkoserver.foundation.net.HTTPRequest
public class HTTPRequest
An HTTP request descriptor, obtained by parsing the lines of text in an HTTP request as they are received.
| Method Summary | |
|---|---|
String |
content()
Get the message body content. |
String |
header(String name)
Get the value of a request header field. |
boolean |
isNonPersistent()
Test if this is a non-persistent connection. |
String |
method()
Get the request method (GET, PUT, etc.). |
String |
toString()
Obtain a printable String representation of this request. |
String |
URI()
Get the URI that was requested. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public String content()
public String header(String name)
name - The header name whose value is desired.
public boolean isNonPersistent()
public String method()
public String toString()
toString in class Objectpublic String URI()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||