Class ParamMapping<ModelType,ValueType>
- java.lang.Object
-
- com.pingidentity.sdk.api.authn.util.ParamMapping<ModelType,ValueType>
-
public class ParamMapping<ModelType,ValueType> extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFormParamName()Get the name of the form parameter.ValueTypegetValue(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.
-
-
-
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.
-
-