|
||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of URIException in org.apache.commons.httpclient |
Subclasses of URIException in org.apache.commons.httpclient | |
interface |
HttpException
Signals that an HTTP or HttpClient exception has occurred. |
interface |
HttpRecoverableException
Signals that an HTTP or HttpClient exception has occurred. |
Methods in org.apache.commons.httpclient that throw URIException | |
void |
HttpClient.startSession(URI uri)
Deprecated. use HostConfiguration |
URI |
HttpMethod.getURI()
Returns the URI for this method. |
URI |
HttpMethodBase.getURI()
Returns the URI of the HTTP method |
void |
HttpURL.setRawUserinfo(char[] escapedUser,
char[] escapedPassword)
Set the raw-escaped user and password. |
void |
HttpURL.setEscapedUserinfo(java.lang.String escapedUser,
java.lang.String escapedPassword)
Set the raw-escaped user and password. |
void |
HttpURL.setUserinfo(java.lang.String user,
java.lang.String password)
Set the user and password. |
void |
HttpURL.setRawUser(char[] escapedUser)
Set the raw-escaped user. |
void |
HttpURL.setEscapedUser(java.lang.String escapedUser)
Set the escaped user string. |
void |
HttpURL.setUser(java.lang.String user)
Set the user string. |
java.lang.String |
HttpURL.getUser()
Get the user. |
void |
HttpURL.setRawPassword(char[] escapedPassword)
Set the raw-escaped password. |
void |
HttpURL.setEscapedPassword(java.lang.String escapedPassword)
Set the escaped password string. |
void |
HttpURL.setPassword(java.lang.String password)
Set the password string. |
java.lang.String |
HttpURL.getPassword()
Get the password. |
char[] |
HttpURL.getRawCurrentHierPath()
Get the raw-escaped current hierarchy level. |
char[] |
HttpURL.getRawAboveHierPath()
Get the level above the this hierarchy level. |
void |
HttpURL.setQuery(java.lang.String queryName,
java.lang.String queryValue)
Set the query as the name and value pair. |
void |
HttpURL.setQuery(java.lang.String[] queryName,
java.lang.String[] queryValue)
Set the query as the name and value pairs. |
protected void |
HttpURL.checkValid()
Verify the valid class use for construction. |
protected void |
HttpsURL.checkValid()
Verify the valid class use for construction. |
protected static char[] |
URI.encode(java.lang.String original,
java.util.BitSet allowed,
java.lang.String charset)
Encodes URI string. |
protected static java.lang.String |
URI.decode(char[] component,
java.lang.String charset)
Decodes URI encoded string. |
protected void |
URI.parseUriReference(java.lang.String original,
boolean escaped)
In order to avoid any possilbity of conflict with non-ASCII characters, Parse a URI reference as a String with the character
encoding of the local system or the document. |
protected void |
URI.parseAuthority(java.lang.String original,
boolean escaped)
Parse the authority component. |
void |
URI.setRawAuthority(char[] escapedAuthority)
Set the authority. |
void |
URI.setEscapedAuthority(java.lang.String escapedAuthority)
Set the authority. |
java.lang.String |
URI.getAuthority()
Get the authority. |
java.lang.String |
URI.getUserinfo()
Get the userinfo. |
java.lang.String |
URI.getHost()
Get the host. |
void |
URI.setRawPath(char[] escapedPath)
Set the raw-escaped path. |
void |
URI.setEscapedPath(java.lang.String escapedPath)
Set the escaped path. |
void |
URI.setPath(java.lang.String path)
Set the path. |
protected char[] |
URI.resolvePath(char[] basePath,
char[] relPath)
Resolve the base and relative path. |
protected char[] |
URI.getRawCurrentHierPath(char[] path)
Get the raw-escaped current hierarchy level in the given path. |
char[] |
URI.getRawCurrentHierPath()
Get the raw-escaped current hierarchy level. |
java.lang.String |
URI.getEscapedCurrentHierPath()
Get the escaped current hierarchy level. |
java.lang.String |
URI.getCurrentHierPath()
Get the current hierarchy level. |
char[] |
URI.getRawAboveHierPath()
Get the level above the this hierarchy level. |
java.lang.String |
URI.getEscapedAboveHierPath()
Get the level above the this hierarchy level. |
java.lang.String |
URI.getAboveHierPath()
Get the level above the this hierarchy level. |
java.lang.String |
URI.getPath()
Get the path. |
java.lang.String |
URI.getName()
Get the basename of the path. |
java.lang.String |
URI.getPathQuery()
Get the path and query. |
void |
URI.setRawQuery(char[] escapedQuery)
Set the raw-escaped query. |
void |
URI.setEscapedQuery(java.lang.String escapedQuery)
Set the escaped query string. |
void |
URI.setQuery(java.lang.String query)
Set the query. |
java.lang.String |
URI.getQuery()
Get the query. |
void |
URI.setRawFragment(char[] escapedFragment)
Set the raw-escaped fragment. |
void |
URI.setEscapedFragment(java.lang.String escapedFragment)
Set the escaped fragment string. |
void |
URI.setFragment(java.lang.String fragment)
Set the fragment. |
java.lang.String |
URI.getFragment()
Get the fragment. |
protected char[] |
URI.normalize(char[] path)
Normalize the given hier path part. |
void |
URI.normalize()
Normalizes the path part of this URI. |
java.lang.String |
URI.getURI()
It can be gotten the URI character sequence. |
java.lang.String |
URI.getURIReference()
Get the original URI reference string. |
Constructors in org.apache.commons.httpclient that throw URIException | |
HttpURL.HttpURL(char[] escaped,
java.lang.String charset)
Construct a HTTP URL as an escaped form of a character array with the given charset to do escape encoding. |
|
HttpURL.HttpURL(char[] escaped)
Construct a HTTP URL as an escaped form of a character array. |
|
HttpURL.HttpURL(java.lang.String original,
java.lang.String charset)
Construct a HTTP URL from a given string with the given charset to do escape encoding. |
|
HttpURL.HttpURL(java.lang.String original)
Construct a HTTP URL from a given string. |
|
HttpURL.HttpURL(java.lang.String host,
int port,
java.lang.String path)
Construct a HTTP URL from given components. |
|
HttpURL.HttpURL(java.lang.String host,
int port,
java.lang.String path,
java.lang.String query)
Construct a HTTP URL from given components. |
|
HttpURL.HttpURL(java.lang.String user,
java.lang.String password,
java.lang.String host)
Construct a HTTP URL from given components. |
|
HttpURL.HttpURL(java.lang.String user,
java.lang.String password,
java.lang.String host,
int port)
Construct a HTTP URL from given components. |
|
HttpURL.HttpURL(java.lang.String user,
java.lang.String password,
java.lang.String host,
int port,
java.lang.String path)
Construct a HTTP URL from given components. |
|
HttpURL.HttpURL(java.lang.String user,
java.lang.String password,
java.lang.String host,
int port,
java.lang.String path,
java.lang.String query)
Construct a HTTP URL from given components. |
|
HttpURL.HttpURL(java.lang.String host,
java.lang.String path,
java.lang.String query,
java.lang.String fragment)
Construct a HTTP URL from given components. |
|
HttpURL.HttpURL(java.lang.String userinfo,
java.lang.String host,
java.lang.String path,
java.lang.String query,
java.lang.String fragment)
Construct a HTTP URL from given components. |
|
HttpURL.HttpURL(java.lang.String userinfo,
java.lang.String host,
int port,
java.lang.String path)
Construct a HTTP URL from given components. |
|
HttpURL.HttpURL(java.lang.String userinfo,
java.lang.String host,
int port,
java.lang.String path,
java.lang.String query)
Construct a HTTP URL from given components. |
|
HttpURL.HttpURL(java.lang.String userinfo,
java.lang.String host,
int port,
java.lang.String path,
java.lang.String query,
java.lang.String fragment)
Construct a HTTP URL from given components. |
|
HttpURL.HttpURL(HttpURL base,
java.lang.String relative)
Construct a HTTP URL with a given relative URL string. |
|
HttpURL.HttpURL(HttpURL base,
HttpURL relative)
Construct a HTTP URL with a given relative URL. |
|
HttpsURL.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(char[] escaped)
Construct a HTTPS URL as an escaped form of a character array. |
|
HttpsURL.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.HttpsURL(java.lang.String original)
Construct a HTTPS URL from a given string. |
|
HttpsURL.HttpsURL(java.lang.String host,
int port,
java.lang.String path)
Construct a HTTPS URL from given components. |
|
HttpsURL.HttpsURL(java.lang.String host,
int port,
java.lang.String path,
java.lang.String query)
Construct a HTTPS URL from given components. |
|
HttpsURL.HttpsURL(java.lang.String user,
java.lang.String password,
java.lang.String host)
Construct a HTTPS URL from given components. |
|
HttpsURL.HttpsURL(java.lang.String user,
java.lang.String password,
java.lang.String host,
int port)
Construct a HTTPS URL from given components. |
|
HttpsURL.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.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.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.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. |
|
HttpsURL.HttpsURL(java.lang.String userinfo,
java.lang.String host,
int port,
java.lang.String path)
Construct a HTTPS URL from given components. |
|
HttpsURL.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.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.HttpsURL(HttpsURL base,
java.lang.String relative)
Construct a HTTPS URL with a given relative HTTPS URL string. |
|
HttpsURL.HttpsURL(HttpsURL base,
HttpsURL relative)
Construct a HTTPS URL with a given relative URL. |
|
URI.URI(char[] escaped,
java.lang.String charset)
Construct a URI as an escaped form of a character array with the given charset. |
|
URI.URI(char[] escaped)
Construct a URI as an escaped form of a character array. |
|
URI.URI(java.lang.String original,
java.lang.String charset)
Construct a URI from the given string with the given charset. |
|
URI.URI(java.lang.String original)
Construct a URI from the given string. |
|
URI.URI(java.net.URL url)
Deprecated. currently somewhat wrong and diffrent with java.net.URL usage |
|
URI.URI(java.lang.String scheme,
java.lang.String schemeSpecificPart,
java.lang.String fragment)
Construct a general URI from the given components. |
|
URI.URI(java.lang.String scheme,
java.lang.String authority,
java.lang.String path,
java.lang.String query,
java.lang.String fragment)
Construct a general URI from the given components. |
|
URI.URI(java.lang.String scheme,
java.lang.String userinfo,
java.lang.String host,
int port)
Construct a general URI from the given components. |
|
URI.URI(java.lang.String scheme,
java.lang.String userinfo,
java.lang.String host,
int port,
java.lang.String path)
Construct a general URI from the given components. |
|
URI.URI(java.lang.String scheme,
java.lang.String userinfo,
java.lang.String host,
int port,
java.lang.String path,
java.lang.String query)
Construct a general URI from the given components. |
|
URI.URI(java.lang.String scheme,
java.lang.String userinfo,
java.lang.String host,
int port,
java.lang.String path,
java.lang.String query,
java.lang.String fragment)
Construct a general URI from the given components. |
|
URI.URI(java.lang.String scheme,
java.lang.String host,
java.lang.String path,
java.lang.String fragment)
Construct a general URI from the given components. |
|
URI.URI(URI base,
java.lang.String relative)
Construct a general URI with the given relative URI string. |
|
URI.URI(URI base,
URI relative)
Construct a general URI with the given relative URI. |
Uses of URIException in org.apache.commons.httpclient.auth |
Subclasses of URIException in org.apache.commons.httpclient.auth | |
interface |
AuthenticationException
Signals a failure in authentication process |
interface |
MalformedChallengeException
Signals that authentication challenge is in some way invalid or illegal in the given context |
Uses of URIException in org.apache.commons.httpclient.cookie |
Subclasses of URIException in org.apache.commons.httpclient.cookie | |
interface |
MalformedCookieException
Signals that a cookie is in some way invalid or illegal in a given context |
Uses of URIException in org.apache.commons.httpclient.util |
Methods in org.apache.commons.httpclient.util that throw URIException | |
static java.lang.String |
URIUtil.encodeAll(java.lang.String unescaped)
Get the all escaped and encoded string with the default protocl charset. |
static java.lang.String |
URIUtil.encodeAll(java.lang.String unescaped,
java.lang.String charset)
Get the all escaped and encoded string with a given charset. |
static java.lang.String |
URIUtil.encodeWithinAuthority(java.lang.String unescaped)
Escape and encode a string regarded as within the authority component of an URI with the default protocol charset. |
static java.lang.String |
URIUtil.encodeWithinAuthority(java.lang.String unescaped,
java.lang.String charset)
Escape and encode a string regarded as within the authority component of an URI with a given charset. |
static java.lang.String |
URIUtil.encodePathQuery(java.lang.String unescaped)
Escape and encode a string regarded as the path and query components of an URI with the default protocol charset. |
static java.lang.String |
URIUtil.encodePathQuery(java.lang.String unescaped,
java.lang.String charset)
Escape and encode a string regarded as the path and query components of an URI with a given charset. |
static java.lang.String |
URIUtil.encodeWithinPath(java.lang.String unescaped)
Escape and encode a string regarded as within the path component of an URI with the default protocol charset. |
static java.lang.String |
URIUtil.encodeWithinPath(java.lang.String unescaped,
java.lang.String charset)
Escape and encode a string regarded as within the path component of an URI with a given charset. |
static java.lang.String |
URIUtil.encodePath(java.lang.String unescaped)
Escape and encode a string regarded as the path component of an URI with the default protocol charset. |
static java.lang.String |
URIUtil.encodePath(java.lang.String unescaped,
java.lang.String charset)
Escape and encode a string regarded as the path component of an URI with a given charset. |
static java.lang.String |
URIUtil.encodeWithinQuery(java.lang.String unescaped)
Escape and encode a string regarded as within the query component of an URI with the default protocol charset. |
static java.lang.String |
URIUtil.encodeWithinQuery(java.lang.String unescaped,
java.lang.String charset)
Escape and encode a string regarded as within the query component of an URI with a given charset. |
static java.lang.String |
URIUtil.encodeQuery(java.lang.String unescaped)
Escape and encode a string regarded as the query component of an URI with the default protocol charset. |
static java.lang.String |
URIUtil.encodeQuery(java.lang.String unescaped,
java.lang.String charset)
Escape and encode a string regarded as the query component of an URI with a given charset. |
static java.lang.String |
URIUtil.encode(java.lang.String unescaped,
java.util.BitSet allowed)
Escape and encode a given string with allowed characters not to be escaped and the default protocol charset. |
static java.lang.String |
URIUtil.encode(java.lang.String unescaped,
java.util.BitSet allowed,
java.lang.String charset)
Escape and encode a given string with allowed characters not to be escaped and a given charset. |
static java.lang.String |
URIUtil.decode(java.lang.String escaped)
Unescape and decode a given string regarded as an escaped string with the default protocol charset. |
static java.lang.String |
URIUtil.decode(java.lang.String escaped,
java.lang.String charset)
Unescape and decode a given string regarded as an escaped string. |
static java.lang.String |
URIUtil.toProtocolCharset(java.lang.String target)
Deprecated. Do not use. To be removed |
static java.lang.String |
URIUtil.toProtocolCharset(java.lang.String target,
java.lang.String charset)
Deprecated. Do not use. To be removed |
static java.lang.String |
URIUtil.toDocumentCharset(java.lang.String target)
Deprecated. Do not use. To be removed |
static java.lang.String |
URIUtil.toDocumentCharset(java.lang.String target,
java.lang.String charset)
Deprecated. Do not use. To be removed |
static java.lang.String |
URIUtil.toUsingCharset(java.lang.String target,
java.lang.String fromCharset,
java.lang.String toCharset)
Deprecated. Do not use. To be removed |
static char[] |
URIUtil.Coder.encode(java.lang.String unescapedComponent,
java.util.BitSet allowed,
java.lang.String charset)
Escape and encode a given string with allowed characters not to be escaped. |
static java.lang.String |
URIUtil.Coder.decode(char[] escapedComponent,
java.lang.String charset)
Unescape and decode a given string. |
|
||||||||
PREV NEXT | FRAMES NO FRAMES |