| Modifier and Type | Method and Description |
|---|---|
static UriComponent.Type |
UriComponent.Type.valueOf(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 |
|---|---|
private static String |
UriComponent._encode(String s,
UriComponent.Type t,
boolean template,
boolean contextualEncode) |
private static int |
UriComponent._valid(String s,
UriComponent.Type t,
boolean template) |
(package private) static String |
UriComponent.contextualEncode(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.
|
(package private) static String |
UriComponent.contextualEncode(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.
|
private static int |
UriTemplate.createURIComponent(UriComponent.Type t,
String template,
String[] values,
int offset,
boolean encode,
Map<String,?> _mapValues,
StringBuilder b) |
(package private) static String |
UriComponent.decode(String s,
UriComponent.Type t)
Decodes characters of a string that are percent-encoded octets using UTF-8 decoding (if needed).
|
(package private) static String |
UriComponent.encode(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.
|
private String |
UriBuilder.encode(String s,
UriComponent.Type type) |
(package private) static String |
UriComponent.encode(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.
|
(package private) static String |
UriTemplate.resolveTemplateValues(UriComponent.Type type,
String template,
boolean encode,
Map<String,?> _mapValues)
Resolves template variables in the given
template from _mapValues. |
(package private) static boolean |
UriComponent.valid(String s,
UriComponent.Type t)
Validates the legal characters of a percent-encoded string that represents a URI component type.
|
(package private) static boolean |
UriComponent.valid(String s,
UriComponent.Type t,
boolean template)
Validates the legal characters of a percent-encoded string that represents a URI component type.
|
(package private) static void |
UriComponent.validate(String s,
UriComponent.Type t)
Validates the legal characters of a percent-encoded string that represents a URI component type.
|
(package private) static void |
UriComponent.validate(String s,
UriComponent.Type t,
boolean template)
Validates the legal characters of a percent-encoded string that represents a URI component type.
|
Copyright © 2014 Sven Strittmatter. All Rights Reserved.