org.cybergarage.http
Class HTTP
java.lang.Object
org.cybergarage.http.HTTP
public class HTTP
- extends Object
Constructor Summary |
HTTP()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HOST
public static final String HOST
- See Also:
- Constant Field Values
VERSION
public static final String VERSION
- See Also:
- Constant Field Values
VERSION_10
public static final String VERSION_10
- See Also:
- Constant Field Values
VERSION_11
public static final String VERSION_11
- See Also:
- Constant Field Values
CRLF
public static final String CRLF
- See Also:
- Constant Field Values
CR
public static final byte CR
- See Also:
- Constant Field Values
LF
public static final byte LF
- See Also:
- Constant Field Values
TAB
public static final String TAB
- See Also:
- Constant Field Values
SOAP_ACTION
public static final String SOAP_ACTION
- See Also:
- Constant Field Values
M_SEARCH
public static final String M_SEARCH
- See Also:
- Constant Field Values
NOTIFY
public static final String NOTIFY
- See Also:
- Constant Field Values
POST
public static final String POST
- See Also:
- Constant Field Values
GET
public static final String GET
- See Also:
- Constant Field Values
HEAD
public static final String HEAD
- See Also:
- Constant Field Values
SUBSCRIBE
public static final String SUBSCRIBE
- See Also:
- Constant Field Values
UNSUBSCRIBE
public static final String UNSUBSCRIBE
- See Also:
- Constant Field Values
DATE
public static final String DATE
- See Also:
- Constant Field Values
CACHE_CONTROL
public static final String CACHE_CONTROL
- See Also:
- Constant Field Values
NO_CACHE
public static final String NO_CACHE
- See Also:
- Constant Field Values
MAX_AGE
public static final String MAX_AGE
- See Also:
- Constant Field Values
CONNECTION
public static final String CONNECTION
- See Also:
- Constant Field Values
CLOSE
public static final String CLOSE
- See Also:
- Constant Field Values
KEEP_ALIVE
public static final String KEEP_ALIVE
- See Also:
- Constant Field Values
CONTENT_TYPE
public static final String CONTENT_TYPE
- See Also:
- Constant Field Values
CHARSET
public static final String CHARSET
- See Also:
- Constant Field Values
CONTENT_LENGTH
public static final String CONTENT_LENGTH
- See Also:
- Constant Field Values
CONTENT_RANGE
public static final String CONTENT_RANGE
- See Also:
- Constant Field Values
CONTENT_RANGE_BYTES
public static final String CONTENT_RANGE_BYTES
- See Also:
- Constant Field Values
RANGE
public static final String RANGE
- See Also:
- Constant Field Values
TRANSFER_ENCODING
public static final String TRANSFER_ENCODING
- See Also:
- Constant Field Values
CHUNKED
public static final String CHUNKED
- See Also:
- Constant Field Values
LOCATION
public static final String LOCATION
- See Also:
- Constant Field Values
SERVER
public static final String SERVER
- See Also:
- Constant Field Values
ST
public static final String ST
- See Also:
- Constant Field Values
MX
public static final String MX
- See Also:
- Constant Field Values
MAN
public static final String MAN
- See Also:
- Constant Field Values
NT
public static final String NT
- See Also:
- Constant Field Values
NTS
public static final String NTS
- See Also:
- Constant Field Values
USN
public static final String USN
- See Also:
- Constant Field Values
EXT
public static final String EXT
- See Also:
- Constant Field Values
SID
public static final String SID
- See Also:
- Constant Field Values
SEQ
public static final String SEQ
- See Also:
- Constant Field Values
CALLBACK
public static final String CALLBACK
- See Also:
- Constant Field Values
TIMEOUT
public static final String TIMEOUT
- See Also:
- Constant Field Values
MYNAME
public static final String MYNAME
- See Also:
- Constant Field Values
REQEST_LINE_DELIM
public static final String REQEST_LINE_DELIM
- See Also:
- Constant Field Values
HEADER_LINE_DELIM
public static final String HEADER_LINE_DELIM
- See Also:
- Constant Field Values
STATUS_LINE_DELIM
public static final String STATUS_LINE_DELIM
- See Also:
- Constant Field Values
DEFAULT_PORT
public static final int DEFAULT_PORT
- See Also:
- Constant Field Values
DEFAULT_CHUNK_SIZE
public static final int DEFAULT_CHUNK_SIZE
- See Also:
- Constant Field Values
DEFAULT_TIMEOUT
public static final int DEFAULT_TIMEOUT
- See Also:
- Constant Field Values
HTTP
public HTTP()
isAbsoluteURL
public static final boolean isAbsoluteURL(String urlStr)
getHost
public static final String getHost(String urlStr)
getPort
public static final int getPort(String urlStr)
getRequestHostURL
public static final String getRequestHostURL(String host,
int port)
toRelativeURL
public static final String toRelativeURL(String urlStr,
boolean withParam)
toRelativeURL
public static final String toRelativeURL(String urlStr)
getAbsoluteURL
public static final String getAbsoluteURL(String baseURLStr,
String relURlStr)
setChunkSize
public static final void setChunkSize(int size)
getChunkSize
public static final int getChunkSize()
Copyright © 2012 DomoWare. All Rights Reserved.