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 String
getAbsoluteURL(String baseURLStr, String relURlStr)
static int
getChunkSize()
static String
getHost(String urlStr)
static int
getPort(String urlStr)
static String
getRequestHostURL(String host, int port)
static boolean
isAbsoluteURL(String urlStr)
static void
setChunkSize(int size)
static String
toRelativeURL(String urlStr)
static String
toRelativeURL(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()
-