Package org.cybergarage.http
Class HTTP
java.lang.Object
org.cybergarage.http.HTTP
public class HTTP extends Object
-
Field Summary
-
Constructor Summary
Constructors Constructor Description HTTP() -
Method Summary
Modifier and Type Method Description static StringgetAbsoluteURL(String baseURLStr, String relURlStr)static intgetChunkSize()static StringgetHost(String urlStr)static intgetPort(String urlStr)static StringgetRequestHostURL(String host, int port)static booleanisAbsoluteURL(String urlStr)static voidsetChunkSize(int size)static StringtoRelativeURL(String urlStr)static StringtoRelativeURL(String urlStr, boolean withParam)
-
Field Details
-
HOST
- See Also:
- Constant Field Values
-
VERSION
- See Also:
- Constant Field Values
-
VERSION_10
- See Also:
- Constant Field Values
-
VERSION_11
- See Also:
- Constant Field Values
-
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
- See Also:
- Constant Field Values
-
SOAP_ACTION
- See Also:
- Constant Field Values
-
M_SEARCH
- See Also:
- Constant Field Values
-
NOTIFY
- See Also:
- Constant Field Values
-
POST
- See Also:
- Constant Field Values
-
GET
- See Also:
- Constant Field Values
-
HEAD
- See Also:
- Constant Field Values
-
SUBSCRIBE
- See Also:
- Constant Field Values
-
UNSUBSCRIBE
- See Also:
- Constant Field Values
-
DATE
- See Also:
- Constant Field Values
-
CACHE_CONTROL
- See Also:
- Constant Field Values
-
NO_CACHE
- See Also:
- Constant Field Values
-
MAX_AGE
- See Also:
- Constant Field Values
-
CONNECTION
- See Also:
- Constant Field Values
-
CLOSE
- See Also:
- Constant Field Values
-
KEEP_ALIVE
- See Also:
- Constant Field Values
-
CONTENT_TYPE
- See Also:
- Constant Field Values
-
CHARSET
- See Also:
- Constant Field Values
-
CONTENT_LENGTH
- See Also:
- Constant Field Values
-
CONTENT_LANGUAGE
- See Also:
- Constant Field Values
-
CONTENT_RANGE
- See Also:
- Constant Field Values
-
CONTENT_RANGE_BYTES
- See Also:
- Constant Field Values
-
RANGE
- See Also:
- Constant Field Values
-
TRANSFER_ENCODING
- See Also:
- Constant Field Values
-
CHUNKED
- See Also:
- Constant Field Values
-
LOCATION
- See Also:
- Constant Field Values
-
SERVER
- See Also:
- Constant Field Values
-
ST
- See Also:
- Constant Field Values
-
MX
- See Also:
- Constant Field Values
-
MAN
- See Also:
- Constant Field Values
-
NT
- See Also:
- Constant Field Values
-
NTS
- See Also:
- Constant Field Values
-
USN
- See Also:
- Constant Field Values
-
EXT
- See Also:
- Constant Field Values
-
SID
- See Also:
- Constant Field Values
-
SEQ
- See Also:
- Constant Field Values
-
CALLBACK
- See Also:
- Constant Field Values
-
TIMEOUT
- See Also:
- Constant Field Values
-
BOOTID_UPNP_ORG
- See Also:
- Constant Field Values
-
MYNAME
- See Also:
- Constant Field Values
-
REQEST_LINE_DELIM
- See Also:
- Constant Field Values
-
HEADER_LINE_DELIM
- See Also:
- Constant Field Values
-
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
-
-
Constructor Details
-
HTTP
public HTTP()
-
-
Method Details
-
isAbsoluteURL
-
getHost
-
getPort
-
getRequestHostURL
-
toRelativeURL
-
toRelativeURL
-
getAbsoluteURL
-
setChunkSize
public static final void setChunkSize(int size) -
getChunkSize
public static final int getChunkSize()
-