Class JsonBody.Handler

    • Constructor Detail

      • Handler

        public Handler()
    • Method Detail

      • parse

        public Object parse​(StaplerRequest request,
                            Annotation a,
                            Class type,
                            String parameterName)
                     throws javax.servlet.ServletException
        Specified by:
        parse in class AnnotationHandler
        request - Current request being processed. Normally the parameter injection grabs some value from here and returns it. Never null.
        a - The annotation object attached on the parameter for which this handler is configured. Never null
        type - The type of the parameter. Any value returned from this method must be assignable to this type. Never null.
        parameterName - Name of the parameter.