Class ParamMapping<ModelType,ValueType>
java.lang.Object
com.pingidentity.sdk.api.authn.util.ParamMapping<ModelType,ValueType>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the name of the form parameter.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.
-
Constructor Details
-
ParamMapping
-
-
Method Details
-
getFormParamName
Get the name of the form parameter. -
getValue
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.
-