Interface MultivaluedParameterExtractor<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T extract​(javax.ws.rs.core.MultivaluedMap<java.lang.String,​java.lang.String> parameters)
      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

      • getName

        java.lang.String getName()
        Name of the parameter (map key) to be extracted from the supplied multivalued map.
        Returns:
        name of the extracted parameter.
      • getDefaultValueString

        java.lang.String getDefaultValueString()
        Default entry value (string) that will be used in case the entry is not present in the supplied multivalued map.
        Returns:
        default (back-up) map entry value.
      • extract

        T extract​(javax.ws.rs.core.MultivaluedMap<java.lang.String,​java.lang.String> parameters)
        Extract the map entry identified by a name (and using the configured default value) from the supplied multivalued map.
        Parameters:
        parameters - multivalued parameter map.
        Returns:
        custom Java type instance representing the extracted multivalued map entry.