Package | Description |
---|---|
org.glassfish.jersey.server.filter |
Provides core server filters.
|
Modifier and Type | Method and Description |
---|---|
private static HttpMethodOverrideFilter.Source[] |
HttpMethodOverrideFilter.parseConfig(java.lang.Object config)
Converts configuration property value to an array of
HttpMethodOverrideFilter.Source literals. |
static HttpMethodOverrideFilter.Source |
HttpMethodOverrideFilter.Source.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HttpMethodOverrideFilter.Source[] |
HttpMethodOverrideFilter.Source.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
HttpMethodOverrideFilter.enableFor(ResourceConfig rc,
HttpMethodOverrideFilter.Source... sources)
Registers this filter into the passed
ResourceConfig instance and
configures it. |
private java.lang.String |
HttpMethodOverrideFilter.getParamValue(HttpMethodOverrideFilter.Source source,
javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> paramsMap,
java.lang.String paramName)
Returns parameter value in a normalized form (uppercase, trimmed and
null if empty string)
considering the config flags. |
Constructor and Description |
---|
HttpMethodOverrideFilter(HttpMethodOverrideFilter.Source... sources)
Initializes this filter setting the sources of information the filter should look for.
|