Package | Description |
---|---|
org.apache.http.client.utils |
Client utility classes.
|
Modifier and Type | Field and Description |
---|---|
static java.util.EnumSet<URIUtils.UriFlag> |
URIUtils.DROP_FRAGMENT
Set of uri flags containing
DROP_FRAGMENT . |
static java.util.EnumSet<URIUtils.UriFlag> |
URIUtils.DROP_FRAGMENT_AND_NORMALIZE
Set of uri flags containing
DROP_FRAGMENT and NORMALIZE . |
static java.util.EnumSet<URIUtils.UriFlag> |
URIUtils.NO_FLAGS
Empty set of uri flags.
|
static java.util.EnumSet<URIUtils.UriFlag> |
URIUtils.NORMALIZE
Set of uri flags containing
NORMALIZE . |
Modifier and Type | Method and Description |
---|---|
static URIUtils.UriFlag |
URIUtils.UriFlag.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static URIUtils.UriFlag[] |
URIUtils.UriFlag.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static java.net.URI |
URIUtils.rewriteURI(java.net.URI uri,
org.apache.http.HttpHost target,
java.util.EnumSet<URIUtils.UriFlag> flags)
A convenience method for creating a new
URI whose scheme, host
and port are taken from the target host, but whose path, query and
fragment are taken from the existing URI. |