Class ParamMapping<ModelType,​ValueType>


  • public class ParamMapping<ModelType,​ValueType>
    extends Object
    • Method Detail

      • getFormParamName

        public String getFormParamName()
        Get the name of the form parameter.
      • getValue

        public ValueType getValue​(javax.servlet.http.HttpServletRequest request)
        Retrieve the value of the parameter, either from a servlet request's parameter, or from the JSON body of an API request.
        Parameters:
        request - The servlet request.
        Returns:
        the parameter value.