|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<UriComponents.Type> org.springframework.web.util.UriComponents.Type
static enum UriComponents.Type
Enumeration used to identify the parts of a URI.
Contains methods to indicate whether a given character is valid in a specific URI component.
Enum Constant Summary | |
---|---|
AUTHORITY
|
|
FRAGMENT
|
|
HOST
|
|
PATH
|
|
PATH_SEGMENT
|
|
PORT
|
|
QUERY
|
|
QUERY_PARAM
|
|
SCHEME
|
|
USER_INFO
|
Method Summary | |
---|---|
abstract boolean |
isAllowed(int c)
Indicates whether the given character is allowed in this URI component. |
protected boolean |
isAlpha(int c)
Indicates whether the given character is in the ALPHA set. |
protected boolean |
isDigit(int c)
Indicates whether the given character is in the DIGIT set. |
protected boolean |
isGenericDelimiter(int c)
Indicates whether the given character is in the gen-delims set. |
protected boolean |
isPchar(int c)
Indicates whether the given character is in the pchar set. |
protected boolean |
isReserved(char c)
Indicates whether the given character is in the reserved set. |
protected boolean |
isSubDelimiter(int c)
Indicates whether the given character is in the sub-delims set. |
protected boolean |
isUnreserved(int c)
Indicates whether the given character is in the unreserved set. |
static UriComponents.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static UriComponents.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final UriComponents.Type SCHEME
public static final UriComponents.Type AUTHORITY
public static final UriComponents.Type USER_INFO
public static final UriComponents.Type HOST
public static final UriComponents.Type PORT
public static final UriComponents.Type PATH
public static final UriComponents.Type PATH_SEGMENT
public static final UriComponents.Type QUERY
public static final UriComponents.Type QUERY_PARAM
public static final UriComponents.Type FRAGMENT
Method Detail |
---|
public static UriComponents.Type[] values()
for (UriComponents.Type c : UriComponents.Type.values()) System.out.println(c);
public static UriComponents.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic abstract boolean isAllowed(int c)
c
- the character
true
if the character is allowed; false
otherwiseprotected boolean isAlpha(int c)
ALPHA
set.
protected boolean isDigit(int c)
DIGIT
set.
protected boolean isGenericDelimiter(int c)
gen-delims
set.
protected boolean isSubDelimiter(int c)
sub-delims
set.
protected boolean isReserved(char c)
reserved
set.
protected boolean isUnreserved(int c)
unreserved
set.
protected boolean isPchar(int c)
pchar
set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |