The HTTPS URL.
HttpsURL
protected HttpsURL()
Create an instance as an internal use.
HttpsURL
public HttpsURL(String original)
throws URIException Construct a HTTPS URL from a given string.
original - the HTTPS URL string
HttpsURL
public HttpsURL(String original,
String charset)
throws URIException Construct a HTTPS URL from a given string with the given charset to do
escape encoding.
original - the HTTPS URL stringcharset - the charset to do escape encoding
HttpsURL
public HttpsURL(String user,
String password,
String host)
throws URIException Construct a HTTPS URL from given components.
user - the user namepassword - his or her passwordhost - the host string
HttpsURL
public HttpsURL(String host,
String path,
String query,
String fragment)
throws URIException Construct a HTTPS URL from given components.
host - the host stringpath - the path stringquery - the query stringfragment - the fragment string
HttpsURL
public HttpsURL(String userinfo,
String host,
String path,
String query,
String fragment)
throws URIException Construct a HTTPS URL from given components.
Note: The userinfo format is normally
<username>:<password> where
username and password must both be URL escaped.
userinfo - the userinfo string whose parts are URL escapedhost - the host stringpath - the path stringquery - the query stringfragment - the fragment string
HttpsURL
public HttpsURL(String user,
String password,
String host,
int port)
throws URIException Construct a HTTPS URL from given components.
user - the user namepassword - his or her passwordhost - the host stringport - the port number
HttpsURL
public HttpsURL(String user,
String password,
String host,
int port,
String path)
throws URIException Construct a HTTPS URL from given components.
user - the user namepassword - his or her passwordhost - the host stringport - the port numberpath - the path string
HttpsURL
public HttpsURL(String user,
String password,
String host,
int port,
String path,
String query)
throws URIException Construct a HTTPS URL from given components.
user - the user namepassword - his or her passwordhost - the host stringport - the port numberpath - the path stringquery - The query string.
HttpsURL
public HttpsURL(String user,
String password,
String host,
int port,
String path,
String query,
String fragment)
throws URIException Construct a HTTP URL from given components.
user - the user namepassword - his or her passwordhost - the host stringport - the port numberpath - the path stringquery - the query stringfragment - the fragment string
HttpsURL
public HttpsURL(String userinfo,
String host,
int port,
String path)
throws URIException Construct a HTTPS URL from given components.
Note: The userinfo format is normally
<username>:<password> where
username and password must both be URL escaped.
userinfo - the userinfo string whose parts are URL escapedhost - the host stringport - the port numberpath - the path string
HttpsURL
public HttpsURL(String userinfo,
String host,
int port,
String path,
String query)
throws URIException Construct a HTTPS URL from given components.
Note: The userinfo format is normally
<username>:<password> where
username and password must both be URL escaped.
userinfo - the userinfo string whose parts are URL escapedhost - the host stringport - the port numberpath - the path stringquery - the query string
HttpsURL
public HttpsURL(String userinfo,
String host,
int port,
String path,
String query,
String fragment)
throws URIException Construct a HTTPS URL from given components.
Note: The userinfo format is normally
<username>:<password> where
username and password must both be URL escaped.
userinfo - the userinfo string whose parts are URL escapedhost - the host stringport - the port numberpath - the path stringquery - the query stringfragment - the fragment string
HttpsURL
public HttpsURL(String host,
int port,
String path)
throws URIException Construct a HTTPS URL from given components.
host - the host stringport - the port numberpath - the path string
HttpsURL
public HttpsURL(String host,
int port,
String path,
String query)
throws URIException Construct a HTTPS URL from given components.
host - the host stringport - the port numberpath - the path stringquery - the query string
HttpsURL
public HttpsURL(char[] escaped)
throws URIException,
NullPointerException Construct a HTTPS URL as an escaped form of a character array.
escaped - the HTTPS URL character sequence
HttpsURL
public HttpsURL(char[] escaped,
String charset)
throws URIException,
NullPointerException Construct a HTTPS URL as an escaped form of a character array with the
given charset to do escape encoding.
escaped - the HTTPS URL character sequencecharset - the charset to do escape encoding
HttpsURL
public HttpsURL(HttpsURL base,
String relative)
throws URIException Construct a HTTPS URL with a given relative HTTPS URL string.
base - the base HttpsURLrelative - the relative HTTPS URL string
HttpsURL
public HttpsURL(HttpsURL base,
HttpsURL relative)
throws URIException Construct a HTTPS URL with a given relative URL.
base - the base HttpsURLrelative - the relative HttpsURL