|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.netseeker.ejoe.http.HttpHeaderParser
de.netseeker.ejoe.http.HttpRequestParser
public class HttpRequestParser
Parser class for HTTP requests
| Field Summary |
|---|
| Fields inherited from class de.netseeker.ejoe.http.HttpHeaderParser |
|---|
csISO, LINE_SEP, pConnection, pContentLength, pLineEnd |
| Constructor Summary | |
|---|---|
HttpRequestParser(java.nio.ByteBuffer buf)
Constructs a new HTTP request parser using the given ByteBuffer |
|
| Method Summary | |
|---|---|
protected java.lang.String |
extractURI()
Extracts the requested URI from the underlying buffer |
java.lang.String |
getUri()
Returns the requested URI |
boolean |
isValid()
Checks if the HTTP header seems to be valid |
| Methods inherited from class de.netseeker.ejoe.http.HttpHeaderParser |
|---|
extractContentLength, extractHeaderLength, getByteHeader, getCharHeader, getContentLength, getHeaderLength, hasCompression, hasPrereadContent, isComplete, isConnectionPersistent, isPersistentConnection, setCompression |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpRequestParser(java.nio.ByteBuffer buf)
buf - ByteBuffer containing a HTTP request (HTTP header [ + optional preread content]| Method Detail |
|---|
public boolean isValid()
HttpHeaderParser
isValid in class HttpHeaderParserpublic java.lang.String getUri()
protected java.lang.String extractURI()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||