| java.lang.Object org.apache.commons.httpclient.URI org.apache.commons.httpclient.HttpURL org.apache.commons.httpclient.HttpsURL
Constructor Summary | |
protected | HttpsURL() Create an instance as an internal use. | public | HttpsURL(char[] escaped, String charset) Construct a HTTPS URL as an escaped form of a character array with the
given charset to do escape encoding. | public | HttpsURL(char[] escaped) Construct a HTTPS URL as an escaped form of a character array. | public | HttpsURL(String original, String charset) Construct a HTTPS URL from a given string with the given charset to do
escape encoding. | public | HttpsURL(String original) Construct a HTTPS URL from a given string. | public | HttpsURL(String host, int port, String path) Construct a HTTPS URL from given components. | public | HttpsURL(String host, int port, String path, String query) Construct a HTTPS URL from given components. | public | HttpsURL(String user, String password, String host) Construct a HTTPS URL from given components. | public | HttpsURL(String user, String password, String host, int port) Construct a HTTPS URL from given components. | public | HttpsURL(String user, String password, String host, int port, String path) Construct a HTTPS URL from given components. | public | HttpsURL(String user, String password, String host, int port, String path, String query) Construct a HTTPS URL from given components. | public | HttpsURL(String host, String path, String query, String fragment) Construct a HTTPS URL from given components. | public | HttpsURL(String userinfo, String host, String path, String query, String fragment) Construct a HTTPS URL from given components. | public | HttpsURL(String userinfo, String host, int port, String path) Construct a HTTPS URL from given components. | public | HttpsURL(String userinfo, String host, int port, String path, String query) Construct a HTTPS URL from given components. | public | HttpsURL(String userinfo, String host, int port, String path, String query, String fragment) Construct a HTTPS URL from given components. | public | HttpsURL(String user, String password, String host, int port, String path, String query, String fragment) Construct a HTTP URL from given components. | public | HttpsURL(HttpsURL base, String relative) Construct a HTTPS URL with a given relative HTTPS URL string. | public | HttpsURL(HttpsURL base, HttpsURL relative) Construct a HTTPS URL with a given relative URL. |
DEFAULT_PORT | final public static int DEFAULT_PORT(Code) | | Default port for HTTPS URL.
|
DEFAULT_SCHEME | final public static char[] DEFAULT_SCHEME(Code) | | Default scheme for HTTPS URL.
|
serialVersionUID | final static long serialVersionUID(Code) | | The serialVersionUID.
|
HttpsURL | protected HttpsURL()(Code) | | Create an instance as an internal use.
|
HttpsURL | public HttpsURL(String userinfo, String host, String path, String query, String fragment) throws URIException(Code) | | Construct a HTTPS URL from given components.
Note: The userinfo format is normally
<username>:<password> where
username and password must both be URL escaped.
Parameters: userinfo - the userinfo string whose parts are URL escaped Parameters: host - the host string Parameters: path - the path string Parameters: query - the query string Parameters: fragment - the fragment string throws: URIException - If HttpsURL.checkValid() fails See Also: HttpsURL.getDefaultProtocolCharset |
HttpsURL | public HttpsURL(String userinfo, String host, int port, String path) throws URIException(Code) | | Construct a HTTPS URL from given components.
Note: The userinfo format is normally
<username>:<password> where
username and password must both be URL escaped.
Parameters: userinfo - the userinfo string whose parts are URL escaped Parameters: host - the host string Parameters: port - the port number Parameters: path - the path string throws: URIException - If HttpsURL.checkValid() fails See Also: HttpsURL.getDefaultProtocolCharset |
HttpsURL | public HttpsURL(String userinfo, String host, int port, String path, String query) throws URIException(Code) | | Construct a HTTPS URL from given components.
Note: The userinfo format is normally
<username>:<password> where
username and password must both be URL escaped.
Parameters: userinfo - the userinfo string whose parts are URL escaped Parameters: host - the host string Parameters: port - the port number Parameters: path - the path string Parameters: query - the query string throws: URIException - If HttpsURL.checkValid() fails See Also: HttpsURL.getDefaultProtocolCharset |
HttpsURL | public HttpsURL(String userinfo, String host, int port, String path, String query, String fragment) throws URIException(Code) | | Construct a HTTPS URL from given components.
Note: The userinfo format is normally
<username>:<password> where
username and password must both be URL escaped.
Parameters: userinfo - the userinfo string whose parts are URL escaped Parameters: host - the host string Parameters: port - the port number Parameters: path - the path string Parameters: query - the query string Parameters: fragment - the fragment string throws: URIException - If HttpsURL.checkValid() fails See Also: HttpsURL.getDefaultProtocolCharset |
checkValid | protected void checkValid() throws URIException(Code) | | Verify the valid class use for construction.
throws: URIException - the wrong scheme use |
getPort | public int getPort()(Code) | | Get the port number.
the port number |
getRawScheme | public char[] getRawScheme()(Code) | | Get the scheme. You can get the scheme explicitly.
the scheme |
getScheme | public String getScheme()(Code) | | Get the scheme. You can get the scheme explicitly.
the scheme null if empty or undefined |
Methods inherited from org.apache.commons.httpclient.HttpURL | protected void checkValid() throws URIException(Code)(Java Doc) public String getEscapedPassword()(Code)(Java Doc) public String getEscapedUser()(Code)(Java Doc) public String getPassword() throws URIException(Code)(Java Doc) public int getPort()(Code)(Java Doc) public char[] getRawAboveHierPath() throws URIException(Code)(Java Doc) public char[] getRawCurrentHierPath() throws URIException(Code)(Java Doc) public char[] getRawPassword()(Code)(Java Doc) public char[] getRawPath()(Code)(Java Doc) public char[] getRawScheme()(Code)(Java Doc) public char[] getRawUser()(Code)(Java Doc) public String getScheme()(Code)(Java Doc) public String getUser() throws URIException(Code)(Java Doc) public void setEscapedPassword(String escapedPassword) throws URIException(Code)(Java Doc) public void setEscapedUser(String escapedUser) throws URIException, NullPointerException(Code)(Java Doc) public void setEscapedUserinfo(String escapedUser, String escapedPassword) throws URIException, NullPointerException(Code)(Java Doc) public void setPassword(String password) throws URIException(Code)(Java Doc) public void setQuery(String queryName, String queryValue) throws URIException, NullPointerException(Code)(Java Doc) public void setQuery(String[] queryName, String[] queryValue) throws URIException, NullPointerException(Code)(Java Doc) public void setRawPassword(char[] escapedPassword) throws URIException(Code)(Java Doc) public void setRawUser(char[] escapedUser) throws URIException(Code)(Java Doc) public void setRawUserinfo(char[] escapedUser, char[] escapedPassword) throws URIException(Code)(Java Doc) protected void setURI()(Code)(Java Doc) public void setUser(String user) throws URIException, NullPointerException(Code)(Java Doc) public void setUserinfo(String user, String password) throws URIException, NullPointerException(Code)(Java Doc) protected static String toUserinfo(String user, String password) throws URIException(Code)(Java Doc)
|
Methods inherited from org.apache.commons.httpclient.URI | public synchronized Object clone() throws CloneNotSupportedException(Code)(Java Doc) public int compareTo(Object obj) throws ClassCastException(Code)(Java Doc) protected static String decode(char[] component, String charset) throws URIException(Code)(Java Doc) protected static String decode(String component, String charset) throws URIException(Code)(Java Doc) protected static char[] encode(String original, BitSet allowed, String charset) throws URIException(Code)(Java Doc) protected boolean equals(char[] first, char[] second)(Code)(Java Doc) public boolean equals(Object obj)(Code)(Java Doc) public String getAboveHierPath() throws URIException(Code)(Java Doc) public String getAuthority() throws URIException(Code)(Java Doc) public String getCurrentHierPath() throws URIException(Code)(Java Doc) public static String getDefaultDocumentCharset()(Code)(Java Doc) public static String getDefaultDocumentCharsetByLocale()(Code)(Java Doc) public static String getDefaultDocumentCharsetByPlatform()(Code)(Java Doc) public static String getDefaultProtocolCharset()(Code)(Java Doc) public String getEscapedAboveHierPath() throws URIException(Code)(Java Doc) public String getEscapedAuthority()(Code)(Java Doc) public String getEscapedCurrentHierPath() throws URIException(Code)(Java Doc) public String getEscapedFragment()(Code)(Java Doc) public String getEscapedName()(Code)(Java Doc) public String getEscapedPath()(Code)(Java Doc) public String getEscapedPathQuery()(Code)(Java Doc) public String getEscapedQuery()(Code)(Java Doc) public String getEscapedURI()(Code)(Java Doc) public String getEscapedURIReference()(Code)(Java Doc) public String getEscapedUserinfo()(Code)(Java Doc) public String getFragment() throws URIException(Code)(Java Doc) public String getHost() throws URIException(Code)(Java Doc) public String getName() throws URIException(Code)(Java Doc) public String getPath() throws URIException(Code)(Java Doc) public String getPathQuery() throws URIException(Code)(Java Doc) public int getPort()(Code)(Java Doc) public String getProtocolCharset()(Code)(Java Doc) public String getQuery() throws URIException(Code)(Java Doc) public char[] getRawAboveHierPath() throws URIException(Code)(Java Doc) public char[] getRawAuthority()(Code)(Java Doc) protected char[] getRawCurrentHierPath(char[] path) throws URIException(Code)(Java Doc) public char[] getRawCurrentHierPath() throws URIException(Code)(Java Doc) public char[] getRawFragment()(Code)(Java Doc) public char[] getRawHost()(Code)(Java Doc) public char[] getRawName()(Code)(Java Doc) public char[] getRawPath()(Code)(Java Doc) public char[] getRawPathQuery()(Code)(Java Doc) public char[] getRawQuery()(Code)(Java Doc) public char[] getRawScheme()(Code)(Java Doc) public char[] getRawURI()(Code)(Java Doc) public char[] getRawURIReference()(Code)(Java Doc) public char[] getRawUserinfo()(Code)(Java Doc) public String getScheme()(Code)(Java Doc) public String getURI() throws URIException(Code)(Java Doc) public String getURIReference() throws URIException(Code)(Java Doc) public String getUserinfo() throws URIException(Code)(Java Doc) public boolean hasAuthority()(Code)(Java Doc) public boolean hasFragment()(Code)(Java Doc) public boolean hasQuery()(Code)(Java Doc) public boolean hasUserinfo()(Code)(Java Doc) public int hashCode()(Code)(Java Doc) protected int indexFirstOf(String s, String delims)(Code)(Java Doc) protected int indexFirstOf(String s, String delims, int offset)(Code)(Java Doc) protected int indexFirstOf(char[] s, char delim)(Code)(Java Doc) protected int indexFirstOf(char[] s, char delim, int offset)(Code)(Java Doc) public boolean isAbsPath()(Code)(Java Doc) public boolean isAbsoluteURI()(Code)(Java Doc) public boolean isHierPart()(Code)(Java Doc) public boolean isHostname()(Code)(Java Doc) public boolean isIPv4address()(Code)(Java Doc) public boolean isIPv6reference()(Code)(Java Doc) public boolean isNetPath()(Code)(Java Doc) public boolean isOpaquePart()(Code)(Java Doc) public boolean isRegName()(Code)(Java Doc) public boolean isRelPath()(Code)(Java Doc) public boolean isRelativeURI()(Code)(Java Doc) public boolean isServer()(Code)(Java Doc) protected char[] normalize(char[] path) throws URIException(Code)(Java Doc) public void normalize() throws URIException(Code)(Java Doc) protected void parseAuthority(String original, boolean escaped) throws URIException(Code)(Java Doc) protected void parseUriReference(String original, boolean escaped) throws URIException(Code)(Java Doc) protected boolean prevalidate(String component, BitSet disallowed)(Code)(Java Doc) protected char[] removeFragmentIdentifier(char[] component)(Code)(Java Doc) protected char[] resolvePath(char[] basePath, char[] relPath) throws URIException(Code)(Java Doc) public static void setDefaultDocumentCharset(String charset) throws DefaultCharsetChanged(Code)(Java Doc) public static void setDefaultProtocolCharset(String charset) throws DefaultCharsetChanged(Code)(Java Doc) public void setEscapedAuthority(String escapedAuthority) throws URIException(Code)(Java Doc) public void setEscapedFragment(String escapedFragment) throws URIException(Code)(Java Doc) public void setEscapedPath(String escapedPath) throws URIException(Code)(Java Doc) public void setEscapedQuery(String escapedQuery) throws URIException(Code)(Java Doc) public void setFragment(String fragment) throws URIException(Code)(Java Doc) public void setPath(String path) throws URIException(Code)(Java Doc) public void setQuery(String query) throws URIException(Code)(Java Doc) public void setRawAuthority(char[] escapedAuthority) throws URIException, NullPointerException(Code)(Java Doc) public void setRawFragment(char[] escapedFragment) throws URIException(Code)(Java Doc) public void setRawPath(char[] escapedPath) throws URIException(Code)(Java Doc) public void setRawQuery(char[] escapedQuery) throws URIException(Code)(Java Doc) protected void setURI()(Code)(Java Doc) public String toString()(Code)(Java Doc) protected boolean validate(char[] component, BitSet generous)(Code)(Java Doc) protected boolean validate(char[] component, int soffset, int eoffset, BitSet generous)(Code)(Java Doc)
|
|
|