|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ORG.oclc.jassi.HttpMessage
The HttpMessage class reads in the HTTP request from the Standard HTTPD Server, stores the sessionid and threadid values passed in the SessionID and ThreadID HTTP headers, and checks the Content-length to see if there is an HTTP body message present.
Constructor Summary | |
HttpMessage(BufferedReader sockin)
Constructs a HttpMessage object using the input socket parameter. |
Method Summary | |
int |
getContentLength()
Get "Content-Length" value from the input Http Message. |
static int |
getContentLength(String httpMessage)
Get "Content-Length" value from the input Http Message. |
String |
getDefaultHTTPHeader(String body)
Creates a default HTTP header using an input HTTP body message. |
DataPairs |
getHTTPMsg()
Returns the HTTP request as a DataPairs object. |
StringBuffer |
getRawHTTPMsg()
Returns the raw HTTP request as a StringBuffer. |
String |
getSessionid()
Returns the sessionid value from the HTTP SessionID header in this HTTP request. |
boolean |
getSTOPCommandIssued()
Tests for a STOP thread command issued by the browser. |
String |
getThreadid()
Returns the threadid value from the HTTP ThreadID header in this HTTP request. |
static int |
parseContentLength(String httpMessage)
|
String |
toString()
Generates the String representation of this object. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public HttpMessage(BufferedReader sockin)
sockin
- the socket connection in JaSSI that reads the
HTTP request.Method Detail |
public int getContentLength()
public static final int getContentLength(String httpMessage)
public final String getDefaultHTTPHeader(String body)
public final DataPairs getHTTPMsg()
public final StringBuffer getRawHTTPMsg()
public final String getSessionid()
public final boolean getSTOPCommandIssued()
public final String getThreadid()
public static final int parseContentLength(String httpMessage)
public final String toString()
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |