public interface MultivaluedParameterExtractor<T>
name
from the supplied multivalued map
into an object of a custom
Java type.Modifier and Type | Method and Description |
---|---|
T |
extract(MultivaluedMap<String,String> parameters)
Extract the map entry identified by a
name (and using
the configured default value ) from
the supplied multivalued map . |
String |
getDefaultValueString()
Default entry value (string) that will be used in case the entry
is not present in the supplied
multivalued map . |
String |
getName()
Name of the parameter (map key) to be extracted from the supplied
multivalued map . |
String getName()
multivalued map
.String getDefaultValueString()
multivalued map
.T extract(MultivaluedMap<String,String> parameters)
name
(and using
the configured default value
) from
the supplied multivalued map
.parameters
- multivalued parameter map.Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.