|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MultivaluedParameterExtractor<T>
Provider that converts the values of an entry of a given name
from the supplied multivalued map into an object of a custom
Java type.
| Method Summary | |
|---|---|
T |
extract(MultivaluedMap<java.lang.String,java.lang.String> multimap)
Extract the map entry identified by a name (and using
the configured default value) from
the supplied multivalued map. |
java.lang.String |
getDefaultValueString()
Default entry value (string) that will be used in case the entry is not present in the supplied multivalued map. |
java.lang.String |
getName()
Name of the parameter (map key) to be extracted from the supplied multivalued map. |
| Method Detail |
|---|
java.lang.String getName()
multivalued map.
java.lang.String getDefaultValueString()
multivalued map.
T extract(MultivaluedMap<java.lang.String,java.lang.String> multimap)
name (and using
the configured default value) from
the supplied multivalued map.
multimap - multivalued parameter map.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||