|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.pbemengine.engine.ng.base.webserver.HTTPRequest
public final class HTTPRequest
HTTP Request class, parses a HTTP request line and identifies major and minor version numbers.
| Field Summary | |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getvars
GET variables |
int |
major
The Major version number |
java.lang.String |
method
Request method, usually GET or POST |
int |
minor
The Minor version number |
java.lang.String |
protocol
The protocol being used - should normally be HTTP |
java.lang.String |
URI
URI, the document being requested |
| Constructor Summary | |
|---|---|
HTTPRequest(java.lang.String requestline)
Parses a HTTP request line and creates a corresponding object |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String method
public java.lang.String URI
public java.lang.String protocol
public int major
public int minor
public java.util.Map<java.lang.String,java.lang.String> getvars
| Constructor Detail |
|---|
public HTTPRequest(java.lang.String requestline)
throws java.lang.IllegalArgumentException
requestline - The HTTP request line
java.lang.IllegalArgumentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||