Package org.kohsuke.stapler.json
Annotation Type SubmittedForm
-
@Target(PARAMETER) @Retention(RUNTIME) @Documented @InjectedParameter(Handler.class) public @interface SubmittedForm
Binds the submitted form to a parameter of a web-bound method.On a web-bound
doXyz
method, use this annotation on a parameter to get the submitted structured form content and inject it asJSONObject
. For example,public HttpResponse doConfigSubmit(@SubmittedForm JSONObject o) { ... }
- Author:
- Kohsuke Kawaguchi