|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.netseeker.ejoe.http.HttpHeaderParser de.netseeker.ejoe.http.HttpResponseParser
public class HttpResponseParser
Parser class for HTTP responses send by EJServer
Field Summary |
---|
Fields inherited from class de.netseeker.ejoe.http.HttpHeaderParser |
---|
csISO, LINE_SEP, pConnection, pContentLength, pLineEnd |
Constructor Summary | |
---|---|
HttpResponseParser(java.nio.ByteBuffer buf)
Creates a new parser using the given ByteBuffer containing HTTP response data |
Method Summary | |
---|---|
protected int |
extractCode()
Extracts the http status code from the underlying buffer |
int |
getCode()
Returns the response status code, eg. 200 OK |
Methods inherited from class de.netseeker.ejoe.http.HttpHeaderParser |
---|
extractContentLength, extractHeaderLength, getByteHeader, getCharHeader, getContentLength, getHeaderLength, hasCompression, hasPrereadContent, isComplete, isConnectionPersistent, isPersistentConnection, isValid, setCompression |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpResponseParser(java.nio.ByteBuffer buf)
buf
- ByteBuffer containing a HTTP responseMethod Detail |
---|
public int getCode()
protected int extractCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |