|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<HttpMethodOverrideFilter.Source>
org.glassfish.jersey.server.filter.HttpMethodOverrideFilter.Source
public static enum HttpMethodOverrideFilter.Source
Enumeration representing possible sources of information about the method overriding the filter should look for.
| Enum Constant Summary | |
|---|---|
HEADER
If present in the filter configuration, causes the filter to look for a method override in the X-HTTP-Method-Override header. |
|
QUERY
If present in the filter configuration, causes the filter to look for a method override in the _method query parameter. |
|
| Method Summary | |
|---|---|
int |
getFlag()
Returns the numeric value of the bit corresponding to this flag. |
boolean |
isPresentIn(int config)
Returns true if the bit corresponding to this flag is set in a given integer value. |
static HttpMethodOverrideFilter.Source |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static HttpMethodOverrideFilter.Source[] |
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 HttpMethodOverrideFilter.Source HEADER
public static final HttpMethodOverrideFilter.Source QUERY
| Method Detail |
|---|
public static HttpMethodOverrideFilter.Source[] values()
for (HttpMethodOverrideFilter.Source c : HttpMethodOverrideFilter.Source.values()) System.out.println(c);
public static HttpMethodOverrideFilter.Source valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic int getFlag()
public boolean isPresentIn(int config)
true if the bit corresponding to this flag is set in a given integer value.
config - integer value to check for the bit corresponding to this flag.
true if the passed value has the bit corresponding to this flag set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||