Package | Description |
---|---|
com.sun.jersey.api.uri |
Provides support for JAX-RS URI templates and encoding/decoding URI components.
|
Modifier and Type | Method and Description |
---|---|
static UriComponent.Type |
UriComponent.Type.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UriComponent.Type[] |
UriComponent.Type.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.lang.String |
UriComponent.contextualEncode(java.lang.String s,
UriComponent.Type t)
Contextually encodes the characters of string that are either non-ASCII
characters or are ASCII characters that must be percent-encoded using the
UTF-8 encoding.
|
static java.lang.String |
UriComponent.contextualEncode(java.lang.String s,
UriComponent.Type t,
boolean template)
Contextually encodes the characters of string that are either non-ASCII
characters or are ASCII characters that must be percent-encoded using the
UTF-8 encoding.
|
static java.lang.String |
UriComponent.decode(java.lang.String s,
UriComponent.Type t)
Decodes characters of a string that are percent-encoded octets using
UTF-8 decoding (if needed).
|
static java.lang.String |
UriComponent.encode(java.lang.String s,
UriComponent.Type t)
Encodes the characters of string that are either non-ASCII characters
or are ASCII characters that must be percent-encoded using the
UTF-8 encoding.
|
static java.lang.String |
UriComponent.encode(java.lang.String s,
UriComponent.Type t,
boolean template)
Encodes the characters of string that are either non-ASCII characters
or are ASCII characters that must be percent-encoded using the
UTF-8 encoding.
|
static boolean |
UriComponent.valid(java.lang.String s,
UriComponent.Type t)
Validates the legal characters of a percent-encoded string that
represents a URI component type.
|
static boolean |
UriComponent.valid(java.lang.String s,
UriComponent.Type t,
boolean template)
Validates the legal characters of a percent-encoded string that
represents a URI component type.
|
static void |
UriComponent.validate(java.lang.String s,
UriComponent.Type t)
Validates the legal characters of a percent-encoded string that
represents a URI component type.
|
static void |
UriComponent.validate(java.lang.String s,
UriComponent.Type t,
boolean template)
Validates the legal characters of a percent-encoded string that
represents a URI component type.
|
Copyright © 2016 Oracle Corporation. All Rights Reserved.