Package org.kohsuke.stapler
Annotation Type WebMethod
-
@Retention(RUNTIME) @Target(METHOD) @Documented public @interface WebMethod
Indicates that the method is bound to HTTP and used to serve the HTTP request.This annotation is assumed to be implicit on every public methods that start with 'do', like 'doFoo' or 'doBar', but you can use this annotation on methods starting with
do
to assign different names.- Author:
- Kohsuke Kawaguchi
-
-
Element Detail
-
name
String[] name
URL names assigned to this method.Normally, for
doXyz
method, the name isxyz
, but you can use this to assign multiple names or non-default names. Often useful for using names that contain non-identifier characters.
-
-