Java org.apache.commons.httpclient URI fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.httpclient URI fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.httpclient URI.

The text is from its open source code.

Subclass

org.apache.commons.httpclient.URI has subclasses.
Click this link to see all its subclasses.

Field

BitSetallowed_authority
Those characters that are allowed for the authority component.
BitSetallowed_within_authority
Those characters that are allowed for the authority component.
BitSetallowed_abs_path
Those characters that are allowed for the abs_path.
BitSetallowed_within_path
Those characters that are allowed within the path.
BitSetallowed_query
Those characters that are allowed for the query component.
BitSetallowed_within_query
Those characters that are allowed within the query component.
BitSetallowed_fragment
Those characters that are allowed for the fragment component.

Constructor

URI(String s, boolean escaped)
Construct a URI from a string with the given charset.
URI(char[] escaped, String charset)
Construct a URI as an escaped form of a character array with the given charset.
URI(String original, String charset)
Construct a URI from the given string with the given charset.
URI(URI base, String relative)
Construct a general URI with the given relative URI string.
URI(URI base, URI relative)
Construct a general URI with the given relative URI.
URI(char[] escaped)
Construct a URI as an escaped form of a character array.
URI(String original)
Construct a URI from the given string.
URI(String scheme, String userinfo, String host, int port, String path, String query, String fragment)
Construct a general URI from the given components.
URI(String s, boolean escaped, String charset)
Construct a URI from a string with the given charset.
URI(String scheme, String schemeSpecificPart, String fragment)
Construct a general URI from the given components.
URI(URI base, String relative, boolean escaped)
Construct a general URI with the given relative URI string.
URI(String scheme, String authority, String path, String query, String fragment)
Construct a general URI from the given components.
URI(String scheme, String userinfo, String host, int port, String path)
Construct a general URI from the given components.
URI(String scheme, String userinfo, String host, int port)
Construct a general URI from the given components.
URI(String scheme, String host, String path, String fragment)
Construct a general URI from the given components.
URI(String scheme, String userinfo, String host, int port, String path, String query)
Construct a general URI from the given components.

Method

Objectclone()
Create and return a copy of this object, the URI-reference containing the userinfo component.
booleanequals(Object obj)
Test an object if this URI is equal to another.
StringgetAuthority()
Get the authority.
StringgetCurrentHierPath()
Get the current hierarchy level.
StringgetDefaultDocumentCharset()
Get the recommended default charset of the document.
StringgetDefaultProtocolCharset()
Get the default charset of the protocol.
StringgetEscapedAuthority()
Get the escaped authority.
StringgetEscapedFragment()
Get the escaped fragment.
StringgetEscapedPath()
Get the escaped path.
StringgetEscapedQuery()
Get the escaped query.
StringgetEscapedURI()
It can be gotten the URI character sequence.
StringgetFragment()
Get the fragment.
StringgetHost()
Get the host.
StringgetName()
Get the basename of the path.
StringgetPath()
Get the path.
StringgetPathQuery()
Get the path and query.
intgetPort()
Get the port.
StringgetProtocolCharset()
Get the protocol charset used by this current URI instance.
StringgetQuery()
Get the query.
char[]getRawHost()
Get the host.
char[]getRawPath()
Get the raw-escaped path.
char[]getRawQuery()
Get the raw-escaped query.
char[]getRawScheme()
Get the scheme.
StringgetScheme()
Get the scheme.
StringgetURI()
It can be gotten the URI character sequence.
StringgetUserinfo()
Get the userinfo.
booleanhasFragment()
Tell whether or not this URI has fragment.
booleanhasQuery()
Tell whether or not this URI has query.
booleanisAbsoluteURI()
Tell whether or not this URI is absolute.
booleanisRelativeURI()
Tell whether or not this URI is relative.
voidnormalize()
Normalizes the path part of this URI.
voidsetEscapedPath(String escapedPath)
Set the escaped path.
voidsetFragment(String fragment)
Set the fragment.
voidsetPath(String path)
Set the path.
voidsetQuery(String query)
Set the query.
StringtoString()
Get the escaped URI string.