|
| HTTPPacket () |
|
| HTTPPacket (HTTPPacket httpPacket) |
|
| HTTPPacket (InputStream in) |
|
void | init () |
|
void | setVersion (String ver) |
|
String | getVersion () |
|
boolean | read (HTTPSocket httpSock) |
|
boolean | hasFirstLine () |
|
int | getNHeaders () |
|
void | addHeader (HTTPHeader header) |
|
void | addHeader (String name, String value) |
|
HTTPHeader | getHeader (int n) |
|
HTTPHeader | getHeader (String name) |
|
void | clearHeaders () |
|
boolean | hasHeader (String name) |
|
void | setHeader (String name, String value) |
|
void | setHeader (String name, int value) |
|
void | setHeader (String name, long value) |
|
void | setHeader (HTTPHeader header) |
|
String | getHeaderValue (String name) |
|
void | setStringHeader (String name, String value, String startWidth, String endWidth) |
|
void | setStringHeader (String name, String value) |
|
String | getStringHeaderValue (String name, String startWidth, String endWidth) |
|
String | getStringHeaderValue (String name) |
|
void | setIntegerHeader (String name, int value) |
|
void | setLongHeader (String name, long value) |
|
int | getIntegerHeaderValue (String name) |
|
long | getLongHeaderValue (String name) |
|
String | getHeaderString () |
|
void | setContent (byte data[], boolean updateWithContentLength) |
|
void | setContent (byte data[]) |
|
void | setContent (String data, boolean updateWithContentLength) |
|
void | setContent (String data) |
|
byte[] | getContent () |
|
String | getContentString () |
|
boolean | hasContent () |
|
void | setContentInputStream (InputStream in) |
|
InputStream | getContentInputStream () |
|
boolean | hasContentInputStream () |
|
void | setContentType (String type) |
|
String | getContentType () |
|
void | setContentLanguage (String code) |
|
String | getContentLanguage () |
|
String | getCharSet () |
|
void | setContentLength (long len) |
|
long | getContentLength () |
|
boolean | hasConnection () |
|
void | setConnection (String value) |
|
String | getConnection () |
|
boolean | isCloseConnection () |
|
boolean | isKeepAliveConnection () |
|
boolean | hasContentRange () |
|
void | setContentRange (long firstPos, long lastPos, long length) |
|
long[] | getContentRange () |
|
long | getContentRangeFirstPosition () |
|
long | getContentRangeLastPosition () |
|
long | getContentRangeInstanceLength () |
|
void | setCacheControl (String directive) |
|
void | setCacheControl (String directive, int value) |
|
void | setCacheControl (int value) |
|
String | getCacheControl () |
|
void | setServer (String name) |
|
String | getServer () |
|
void | setHost (String host, int port) |
|
void | setHost (String host) |
|
String | getHost () |
|
void | setDate (Calendar cal) |
|
String | getDate () |
|
boolean | hasTransferEncoding () |
|
void | setTransferEncoding (String value) |
|
String | getTransferEncoding () |
|
boolean | isChunked () |
|
◆ HTTPPacket() [1/3]
org.cybergarage.http.HTTPPacket.HTTPPacket |
( |
| ) |
|
|
inline |
◆ HTTPPacket() [2/3]
org.cybergarage.http.HTTPPacket.HTTPPacket |
( |
HTTPPacket | httpPacket | ) |
|
|
inline |
◆ HTTPPacket() [3/3]
org.cybergarage.http.HTTPPacket.HTTPPacket |
( |
InputStream | in | ) |
|
|
inline |
◆ addHeader() [1/2]
void org.cybergarage.http.HTTPPacket.addHeader |
( |
HTTPHeader | header | ) |
|
|
inline |
◆ addHeader() [2/2]
void org.cybergarage.http.HTTPPacket.addHeader |
( |
String | name, |
|
|
String | value ) |
|
inline |
◆ clearHeaders()
void org.cybergarage.http.HTTPPacket.clearHeaders |
( |
| ) |
|
|
inline |
◆ getCacheControl()
String org.cybergarage.http.HTTPPacket.getCacheControl |
( |
| ) |
|
|
inline |
◆ getCharSet()
String org.cybergarage.http.HTTPPacket.getCharSet |
( |
| ) |
|
|
inline |
◆ getConnection()
String org.cybergarage.http.HTTPPacket.getConnection |
( |
| ) |
|
|
inline |
◆ getContent()
byte[] org.cybergarage.http.HTTPPacket.getContent |
( |
| ) |
|
|
inline |
◆ getContentInputStream()
InputStream org.cybergarage.http.HTTPPacket.getContentInputStream |
( |
| ) |
|
|
inline |
◆ getContentLanguage()
String org.cybergarage.http.HTTPPacket.getContentLanguage |
( |
| ) |
|
|
inline |
◆ getContentLength()
long org.cybergarage.http.HTTPPacket.getContentLength |
( |
| ) |
|
|
inline |
◆ getContentRange()
long[] org.cybergarage.http.HTTPPacket.getContentRange |
( |
| ) |
|
|
inline |
◆ getContentRangeFirstPosition()
long org.cybergarage.http.HTTPPacket.getContentRangeFirstPosition |
( |
| ) |
|
|
inline |
◆ getContentRangeInstanceLength()
long org.cybergarage.http.HTTPPacket.getContentRangeInstanceLength |
( |
| ) |
|
|
inline |
◆ getContentRangeLastPosition()
long org.cybergarage.http.HTTPPacket.getContentRangeLastPosition |
( |
| ) |
|
|
inline |
◆ getContentString()
String org.cybergarage.http.HTTPPacket.getContentString |
( |
| ) |
|
|
inline |
◆ getContentType()
String org.cybergarage.http.HTTPPacket.getContentType |
( |
| ) |
|
|
inline |
◆ getDate()
String org.cybergarage.http.HTTPPacket.getDate |
( |
| ) |
|
|
inline |
◆ getFirstLine()
String org.cybergarage.http.HTTPPacket.getFirstLine |
( |
| ) |
|
|
inlineprotected |
◆ getFirstLineToken()
String org.cybergarage.http.HTTPPacket.getFirstLineToken |
( |
int | num | ) |
|
|
inlineprotected |
◆ getHeader() [1/2]
HTTPHeader org.cybergarage.http.HTTPPacket.getHeader |
( |
int | n | ) |
|
|
inline |
◆ getHeader() [2/2]
HTTPHeader org.cybergarage.http.HTTPPacket.getHeader |
( |
String | name | ) |
|
|
inline |
◆ getHeaderString()
String org.cybergarage.http.HTTPPacket.getHeaderString |
( |
| ) |
|
|
inline |
◆ getHeaderValue()
String org.cybergarage.http.HTTPPacket.getHeaderValue |
( |
String | name | ) |
|
|
inline |
◆ getHost()
String org.cybergarage.http.HTTPPacket.getHost |
( |
| ) |
|
|
inline |
◆ getIntegerHeaderValue()
int org.cybergarage.http.HTTPPacket.getIntegerHeaderValue |
( |
String | name | ) |
|
|
inline |
◆ getLongHeaderValue()
long org.cybergarage.http.HTTPPacket.getLongHeaderValue |
( |
String | name | ) |
|
|
inline |
◆ getNHeaders()
int org.cybergarage.http.HTTPPacket.getNHeaders |
( |
| ) |
|
|
inline |
◆ getServer()
String org.cybergarage.http.HTTPPacket.getServer |
( |
| ) |
|
|
inline |
◆ getStringHeaderValue() [1/2]
String org.cybergarage.http.HTTPPacket.getStringHeaderValue |
( |
String | name | ) |
|
|
inline |
◆ getStringHeaderValue() [2/2]
String org.cybergarage.http.HTTPPacket.getStringHeaderValue |
( |
String | name, |
|
|
String | startWidth, |
|
|
String | endWidth ) |
|
inline |
◆ getTransferEncoding()
String org.cybergarage.http.HTTPPacket.getTransferEncoding |
( |
| ) |
|
|
inline |
◆ getVersion()
String org.cybergarage.http.HTTPPacket.getVersion |
( |
| ) |
|
|
inline |
◆ hasConnection()
boolean org.cybergarage.http.HTTPPacket.hasConnection |
( |
| ) |
|
|
inline |
◆ hasContent()
boolean org.cybergarage.http.HTTPPacket.hasContent |
( |
| ) |
|
|
inline |
◆ hasContentInputStream()
boolean org.cybergarage.http.HTTPPacket.hasContentInputStream |
( |
| ) |
|
|
inline |
◆ hasContentRange()
boolean org.cybergarage.http.HTTPPacket.hasContentRange |
( |
| ) |
|
|
inline |
◆ hasFirstLine()
boolean org.cybergarage.http.HTTPPacket.hasFirstLine |
( |
| ) |
|
|
inline |
◆ hasHeader()
boolean org.cybergarage.http.HTTPPacket.hasHeader |
( |
String | name | ) |
|
|
inline |
◆ hasTransferEncoding()
boolean org.cybergarage.http.HTTPPacket.hasTransferEncoding |
( |
| ) |
|
|
inline |
◆ init()
void org.cybergarage.http.HTTPPacket.init |
( |
| ) |
|
|
inline |
◆ isChunked()
boolean org.cybergarage.http.HTTPPacket.isChunked |
( |
| ) |
|
|
inline |
◆ isCloseConnection()
boolean org.cybergarage.http.HTTPPacket.isCloseConnection |
( |
| ) |
|
|
inline |
◆ isKeepAliveConnection()
boolean org.cybergarage.http.HTTPPacket.isKeepAliveConnection |
( |
| ) |
|
|
inline |
◆ read()
boolean org.cybergarage.http.HTTPPacket.read |
( |
HTTPSocket | httpSock | ) |
|
|
inline |
◆ readLine()
String org.cybergarage.http.HTTPPacket.readLine |
( |
BufferedInputStream | in | ) |
|
|
inlineprivate |
◆ set() [1/4]
void org.cybergarage.http.HTTPPacket.set |
( |
HTTPPacket | httpPacket | ) |
|
|
inlineprotected |
◆ set() [2/4]
boolean org.cybergarage.http.HTTPPacket.set |
( |
HTTPSocket | httpSock | ) |
|
|
inlineprotected |
◆ set() [3/4]
boolean org.cybergarage.http.HTTPPacket.set |
( |
InputStream | in | ) |
|
|
inlineprotected |
◆ set() [4/4]
boolean org.cybergarage.http.HTTPPacket.set |
( |
InputStream | in, |
|
|
boolean | onlyHeaders ) |
|
inlineprotected |
◆ setCacheControl() [1/3]
void org.cybergarage.http.HTTPPacket.setCacheControl |
( |
int | value | ) |
|
|
inline |
◆ setCacheControl() [2/3]
void org.cybergarage.http.HTTPPacket.setCacheControl |
( |
String | directive | ) |
|
|
inline |
◆ setCacheControl() [3/3]
void org.cybergarage.http.HTTPPacket.setCacheControl |
( |
String | directive, |
|
|
int | value ) |
|
inline |
◆ setConnection()
void org.cybergarage.http.HTTPPacket.setConnection |
( |
String | value | ) |
|
|
inline |
◆ setContent() [1/4]
void org.cybergarage.http.HTTPPacket.setContent |
( |
byte | data[] | ) |
|
|
inline |
◆ setContent() [2/4]
void org.cybergarage.http.HTTPPacket.setContent |
( |
byte | data[], |
|
|
boolean | updateWithContentLength ) |
|
inline |
◆ setContent() [3/4]
void org.cybergarage.http.HTTPPacket.setContent |
( |
String | data | ) |
|
|
inline |
◆ setContent() [4/4]
void org.cybergarage.http.HTTPPacket.setContent |
( |
String | data, |
|
|
boolean | updateWithContentLength ) |
|
inline |
◆ setContentInputStream()
void org.cybergarage.http.HTTPPacket.setContentInputStream |
( |
InputStream | in | ) |
|
|
inline |
◆ setContentLanguage()
void org.cybergarage.http.HTTPPacket.setContentLanguage |
( |
String | code | ) |
|
|
inline |
◆ setContentLength()
void org.cybergarage.http.HTTPPacket.setContentLength |
( |
long | len | ) |
|
|
inline |
◆ setContentRange()
void org.cybergarage.http.HTTPPacket.setContentRange |
( |
long | firstPos, |
|
|
long | lastPos, |
|
|
long | length ) |
|
inline |
◆ setContentType()
void org.cybergarage.http.HTTPPacket.setContentType |
( |
String | type | ) |
|
|
inline |
◆ setDate()
void org.cybergarage.http.HTTPPacket.setDate |
( |
Calendar | cal | ) |
|
|
inline |
◆ setFirstLine()
void org.cybergarage.http.HTTPPacket.setFirstLine |
( |
String | value | ) |
|
|
inlineprivate |
◆ setHeader() [1/4]
void org.cybergarage.http.HTTPPacket.setHeader |
( |
HTTPHeader | header | ) |
|
|
inline |
◆ setHeader() [2/4]
void org.cybergarage.http.HTTPPacket.setHeader |
( |
String | name, |
|
|
int | value ) |
|
inline |
◆ setHeader() [3/4]
void org.cybergarage.http.HTTPPacket.setHeader |
( |
String | name, |
|
|
long | value ) |
|
inline |
◆ setHeader() [4/4]
void org.cybergarage.http.HTTPPacket.setHeader |
( |
String | name, |
|
|
String | value ) |
|
inline |
◆ setHost() [1/2]
void org.cybergarage.http.HTTPPacket.setHost |
( |
String | host | ) |
|
|
inline |
◆ setHost() [2/2]
void org.cybergarage.http.HTTPPacket.setHost |
( |
String | host, |
|
|
int | port ) |
|
inline |
◆ setIntegerHeader()
void org.cybergarage.http.HTTPPacket.setIntegerHeader |
( |
String | name, |
|
|
int | value ) |
|
inline |
◆ setLongHeader()
void org.cybergarage.http.HTTPPacket.setLongHeader |
( |
String | name, |
|
|
long | value ) |
|
inline |
◆ setServer()
void org.cybergarage.http.HTTPPacket.setServer |
( |
String | name | ) |
|
|
inline |
◆ setStringHeader() [1/2]
void org.cybergarage.http.HTTPPacket.setStringHeader |
( |
String | name, |
|
|
String | value ) |
|
inline |
◆ setStringHeader() [2/2]
void org.cybergarage.http.HTTPPacket.setStringHeader |
( |
String | name, |
|
|
String | value, |
|
|
String | startWidth, |
|
|
String | endWidth ) |
|
inline |
◆ setTransferEncoding()
void org.cybergarage.http.HTTPPacket.setTransferEncoding |
( |
String | value | ) |
|
|
inline |
◆ setVersion()
void org.cybergarage.http.HTTPPacket.setVersion |
( |
String | ver | ) |
|
|
inline |
◆ content
byte org.cybergarage.http.HTTPPacket.content[] = new byte[0] |
|
private |
◆ contentInput
InputStream org.cybergarage.http.HTTPPacket.contentInput = null |
|
private |
◆ firstLine
String org.cybergarage.http.HTTPPacket.firstLine = "" |
|
private |
◆ httpHeaderList
Vector org.cybergarage.http.HTTPPacket.httpHeaderList = new Vector() |
|
private |
◆ version
String org.cybergarage.http.HTTPPacket.version |
|
private |
The documentation for this class was generated from the following file: