Class RequestParameterConversionResult


  • @Unstable
    public class RequestParameterConversionResult
    extends Object
    Simple POJO holding the result of a conversion performed with RequestParameterConverter. More specifically this class contains a mutable request, resulting of the conversion, a map of errors that might have occurred during the conversion for each parameter, and a map of the output of the conversion for each parameter.
    Since:
    14.10
    Version:
    $Id: 5d650d119a5377167bcd0adab6fd2522e03feade $
    • Constructor Detail

      • RequestParameterConversionResult

        public RequestParameterConversionResult​(MutableServletRequest request)
        Default constructor.
        Parameters:
        request - a mutable copy of the original request used for the conversion
    • Method Detail

      • getErrors

        public Map<String,​Throwable> getErrors()
        Returns:
        the map of errors indexed by parameters
      • getOutput

        public Map<String,​String> getOutput()
        Returns:
        the map of conversion output indexed by parameters