Package org.cybergarage.http
Class HTTP
- java.lang.Object
- 
- org.cybergarage.http.HTTP
 
- 
 public class HTTP extends Object 
- 
- 
Field Summary
 - 
Constructor SummaryConstructors Constructor Description HTTP()
 - 
Method SummaryAll Methods Static Methods Concrete Methods 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 Detail- 
HOSTpublic static final String HOST - See Also:
- Constant Field Values
 
 - 
VERSIONpublic static final String VERSION - See Also:
- Constant Field Values
 
 - 
VERSION_10public static final String VERSION_10 - See Also:
- Constant Field Values
 
 - 
VERSION_11public static final String VERSION_11 - See Also:
- Constant Field Values
 
 - 
CRLFpublic static final String CRLF - See Also:
- Constant Field Values
 
 - 
CRpublic static final byte CR - See Also:
- Constant Field Values
 
 - 
LFpublic static final byte LF - See Also:
- Constant Field Values
 
 - 
TABpublic static final String TAB - See Also:
- Constant Field Values
 
 - 
SOAP_ACTIONpublic static final String SOAP_ACTION - See Also:
- Constant Field Values
 
 - 
M_SEARCHpublic static final String M_SEARCH - See Also:
- Constant Field Values
 
 - 
NOTIFYpublic static final String NOTIFY - See Also:
- Constant Field Values
 
 - 
POSTpublic static final String POST - See Also:
- Constant Field Values
 
 - 
GETpublic static final String GET - See Also:
- Constant Field Values
 
 - 
HEADpublic static final String HEAD - See Also:
- Constant Field Values
 
 - 
SUBSCRIBEpublic static final String SUBSCRIBE - See Also:
- Constant Field Values
 
 - 
UNSUBSCRIBEpublic static final String UNSUBSCRIBE - See Also:
- Constant Field Values
 
 - 
DATEpublic static final String DATE - See Also:
- Constant Field Values
 
 - 
CACHE_CONTROLpublic static final String CACHE_CONTROL - See Also:
- Constant Field Values
 
 - 
NO_CACHEpublic static final String NO_CACHE - See Also:
- Constant Field Values
 
 - 
MAX_AGEpublic static final String MAX_AGE - See Also:
- Constant Field Values
 
 - 
CONNECTIONpublic static final String CONNECTION - See Also:
- Constant Field Values
 
 - 
CLOSEpublic static final String CLOSE - See Also:
- Constant Field Values
 
 - 
KEEP_ALIVEpublic static final String KEEP_ALIVE - See Also:
- Constant Field Values
 
 - 
CONTENT_TYPEpublic static final String CONTENT_TYPE - See Also:
- Constant Field Values
 
 - 
CHARSETpublic static final String CHARSET - See Also:
- Constant Field Values
 
 - 
CONTENT_LENGTHpublic static final String CONTENT_LENGTH - See Also:
- Constant Field Values
 
 - 
CONTENT_LANGUAGEpublic static final String CONTENT_LANGUAGE - See Also:
- Constant Field Values
 
 - 
CONTENT_RANGEpublic static final String CONTENT_RANGE - See Also:
- Constant Field Values
 
 - 
CONTENT_RANGE_BYTESpublic static final String CONTENT_RANGE_BYTES - See Also:
- Constant Field Values
 
 - 
RANGEpublic static final String RANGE - See Also:
- Constant Field Values
 
 - 
TRANSFER_ENCODINGpublic static final String TRANSFER_ENCODING - See Also:
- Constant Field Values
 
 - 
CHUNKEDpublic static final String CHUNKED - See Also:
- Constant Field Values
 
 - 
LOCATIONpublic static final String LOCATION - See Also:
- Constant Field Values
 
 - 
SERVERpublic static final String SERVER - See Also:
- Constant Field Values
 
 - 
STpublic static final String ST - See Also:
- Constant Field Values
 
 - 
MXpublic static final String MX - See Also:
- Constant Field Values
 
 - 
MANpublic static final String MAN - See Also:
- Constant Field Values
 
 - 
NTpublic static final String NT - See Also:
- Constant Field Values
 
 - 
NTSpublic static final String NTS - See Also:
- Constant Field Values
 
 - 
USNpublic static final String USN - See Also:
- Constant Field Values
 
 - 
EXTpublic static final String EXT - See Also:
- Constant Field Values
 
 - 
SIDpublic static final String SID - See Also:
- Constant Field Values
 
 - 
SEQpublic static final String SEQ - See Also:
- Constant Field Values
 
 - 
CALLBACKpublic static final String CALLBACK - See Also:
- Constant Field Values
 
 - 
TIMEOUTpublic static final String TIMEOUT - See Also:
- Constant Field Values
 
 - 
BOOTID_UPNP_ORGpublic static final String BOOTID_UPNP_ORG - See Also:
- Constant Field Values
 
 - 
MYNAMEpublic static final String MYNAME - See Also:
- Constant Field Values
 
 - 
REQEST_LINE_DELIMpublic static final String REQEST_LINE_DELIM - See Also:
- Constant Field Values
 
 - 
HEADER_LINE_DELIMpublic static final String HEADER_LINE_DELIM - See Also:
- Constant Field Values
 
 - 
STATUS_LINE_DELIMpublic static final String STATUS_LINE_DELIM - See Also:
- Constant Field Values
 
 - 
DEFAULT_PORTpublic static final int DEFAULT_PORT - See Also:
- Constant Field Values
 
 - 
DEFAULT_CHUNK_SIZEpublic static final int DEFAULT_CHUNK_SIZE - See Also:
- Constant Field Values
 
 - 
DEFAULT_TIMEOUTpublic static final int DEFAULT_TIMEOUT - See Also:
- Constant Field Values
 
 
- 
 
-