Package org.kohsuke.stapler.json
Annotation Interface 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 as JSONObject
.
For example,
public HttpResponse doConfigSubmit(@SubmittedForm JSONObject o) { ... }
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary