|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.httpclient.URI | +--org.apache.commons.httpclient.HttpURL | +--org.apache.commons.httpclient.HttpsURL
The HTTPS URL.
Inner classes inherited from class org.apache.commons.httpclient.URI |
URI.DefaultCharsetChanged,
URI.LocaleToCharsetMap |
Field Summary | |
static int |
_default_port
Deprecated. Use DEFAULT_PORT instead. This one doesn't conform
to the project naming conventions. |
static char[] |
_default_scheme
Deprecated. Use DEFAULT_SCHEME instead. This one doesn't
conform to the project naming conventions. |
static int |
DEFAULT_PORT
Default port for HTTPS URL. |
static char[] |
DEFAULT_SCHEME
Default scheme for HTTPS URL. |
Fields inherited from class org.apache.commons.httpclient.HttpURL |
_default_port,
_default_scheme,
DEFAULT_PORT,
DEFAULT_SCHEME |
Constructor Summary | |
protected |
HttpsURL()
Create an instance as an internal use. |
|
HttpsURL(char[] escaped)
Construct a HTTPS URL as an escaped form of a character array. |
|
HttpsURL(char[] escaped,
java.lang.String charset)
Construct a HTTPS URL as an escaped form of a character array with the given charset to do escape encoding. |
|
HttpsURL(HttpsURL base,
HttpsURL relative)
Construct a HTTPS URL with a given relative URL. |
|
HttpsURL(HttpsURL base,
java.lang.String relative)
Construct a HTTPS URL with a given relative HTTPS URL string. |
|
HttpsURL(java.lang.String original)
Construct a HTTPS URL from a given string. |
|
HttpsURL(java.lang.String host,
int port,
java.lang.String path)
Construct a HTTPS URL from given components. |
|
HttpsURL(java.lang.String host,
int port,
java.lang.String path,
java.lang.String query)
Construct a HTTPS URL from given components. |
|
HttpsURL(java.lang.String original,
java.lang.String charset)
Construct a HTTPS URL from a given string with the given charset to do escape encoding. |
|
HttpsURL(java.lang.String userinfo,
java.lang.String host,
int port,
java.lang.String path)
Construct a HTTPS URL from given components. |
|
HttpsURL(java.lang.String userinfo,
java.lang.String host,
int port,
java.lang.String path,
java.lang.String query)
Construct a HTTPS URL from given components. |
|
HttpsURL(java.lang.String userinfo,
java.lang.String host,
int port,
java.lang.String path,
java.lang.String query,
java.lang.String fragment)
Construct a HTTPS URL from given components. |
|
HttpsURL(java.lang.String user,
java.lang.String password,
java.lang.String host)
Construct a HTTPS URL from given components. |
|
HttpsURL(java.lang.String user,
java.lang.String password,
java.lang.String host,
int port)
Construct a HTTPS URL from given components. |
|
HttpsURL(java.lang.String user,
java.lang.String password,
java.lang.String host,
int port,
java.lang.String path)
Construct a HTTPS URL from given components. |
|
HttpsURL(java.lang.String user,
java.lang.String password,
java.lang.String host,
int port,
java.lang.String path,
java.lang.String query)
Construct a HTTPS URL from given components. |
|
HttpsURL(java.lang.String host,
java.lang.String path,
java.lang.String query,
java.lang.String fragment)
Construct a HTTPS URL from given components. |
|
HttpsURL(java.lang.String userinfo,
java.lang.String host,
java.lang.String path,
java.lang.String query,
java.lang.String fragment)
Construct a HTTPS URL from given components. |
Method Summary | |
protected void |
checkValid()
Verify the valid class use for construction. |
int |
getPort()
Get the port number. |
char[] |
getRawScheme()
Get the scheme. |
java.lang.String |
getScheme()
Get the scheme. |
Methods inherited from class org.apache.commons.httpclient.HttpURL |
getEscapedPassword,
getEscapedUser,
getPassword,
getRawAboveHierPath,
getRawCurrentHierPath,
getRawPassword,
getRawPath,
getRawUser,
getUser,
setEscapedPassword,
setEscapedUser,
setEscapedUserinfo,
setPassword,
setQuery,
setQuery,
setRawPassword,
setRawUser,
setRawUserinfo,
setUser,
setUserinfo |
Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final char[] DEFAULT_SCHEME
public static final char[] _default_scheme
DEFAULT_SCHEME
instead. This one doesn't
conform to the project naming conventions.
public static final int DEFAULT_PORT
public static final int _default_port
DEFAULT_PORT
instead. This one doesn't conform
to the project naming conventions.
Constructor Detail |
protected HttpsURL()
public HttpsURL(char[] escaped, java.lang.String charset) throws URIException, java.lang.NullPointerException
escaped
- the HTTPS URL character sequencecharset
- the charset to do escape encodingcheckValid()
failsescaped
is null
URI.getProtocolCharset()
public HttpsURL(char[] escaped) throws URIException, java.lang.NullPointerException
escaped
- the HTTPS URL character sequencecheckValid()
failsescaped
is null
URI.getDefaultProtocolCharset()
public HttpsURL(java.lang.String original, java.lang.String charset) throws URIException
original
- the HTTPS URL stringcharset
- the charset to do escape encodingcheckValid()
failsURI.getProtocolCharset()
public HttpsURL(java.lang.String original) throws URIException
original
- the HTTPS URL stringcheckValid()
failsURI.getDefaultProtocolCharset()
public HttpsURL(java.lang.String host, int port, java.lang.String path) throws URIException
host
- the host stringport
- the port numberpath
- the path stringcheckValid()
failsURI.getDefaultProtocolCharset()
public HttpsURL(java.lang.String host, int port, java.lang.String path, java.lang.String query) throws URIException
host
- the host stringport
- the port numberpath
- the path stringquery
- the query stringcheckValid()
failsURI.getDefaultProtocolCharset()
public HttpsURL(java.lang.String user, java.lang.String password, java.lang.String host) throws URIException
user
- the user namepassword
- his or her passwordhost
- the host stringcheckValid()
failsURI.getDefaultProtocolCharset()
public HttpsURL(java.lang.String user, java.lang.String password, java.lang.String host, int port) throws URIException
user
- the user namepassword
- his or her passwordhost
- the host stringport
- the port numbercheckValid()
failsURI.getDefaultProtocolCharset()
public HttpsURL(java.lang.String user, java.lang.String password, java.lang.String host, int port, java.lang.String path) throws URIException
user
- the user namepassword
- his or her passwordhost
- the host stringport
- the port numberpath
- the path stringcheckValid()
failsURI.getDefaultProtocolCharset()
public HttpsURL(java.lang.String user, java.lang.String password, java.lang.String host, int port, java.lang.String path, java.lang.String query) throws URIException
user
- the user namepassword
- his or her passwordhost
- the host stringport
- the port numberpath
- the path stringquery
- The query string.checkValid()
failsURI.getDefaultProtocolCharset()
public HttpsURL(java.lang.String host, java.lang.String path, java.lang.String query, java.lang.String fragment) throws URIException
host
- the host stringpath
- the path stringquery
- the query stringfragment
- the fragment stringcheckValid()
failsURI.getDefaultProtocolCharset()
public HttpsURL(java.lang.String userinfo, java.lang.String host, java.lang.String path, java.lang.String query, java.lang.String fragment) throws URIException
userinfo
- the userinfo stringhost
- the host stringpath
- the path stringquery
- the query stringfragment
- the fragment stringcheckValid()
failsURI.getDefaultProtocolCharset()
public HttpsURL(java.lang.String userinfo, java.lang.String host, int port, java.lang.String path) throws URIException
userinfo
- the userinfo stringhost
- the host stringport
- the port numberpath
- the path stringcheckValid()
failsURI.getDefaultProtocolCharset()
public HttpsURL(java.lang.String userinfo, java.lang.String host, int port, java.lang.String path, java.lang.String query) throws URIException
userinfo
- the userinfo stringhost
- the host stringport
- the port numberpath
- the path stringquery
- the query stringcheckValid()
failsURI.getDefaultProtocolCharset()
public HttpsURL(java.lang.String userinfo, java.lang.String host, int port, java.lang.String path, java.lang.String query, java.lang.String fragment) throws URIException
userinfo
- the userinfo stringhost
- the host stringport
- the port numberpath
- the path stringquery
- the query stringfragment
- the fragment stringcheckValid()
failsURI.getDefaultProtocolCharset()
public HttpsURL(HttpsURL base, java.lang.String relative) throws URIException
base
- the base HttpsURLrelative
- the relative HTTPS URL stringcheckValid()
failspublic HttpsURL(HttpsURL base, HttpsURL relative) throws URIException
base
- the base HttpsURLrelative
- the relative HttpsURLcheckValid()
failsMethod Detail |
public char[] getRawScheme()
public java.lang.String getScheme()
public int getPort()
protected void checkValid() throws URIException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |