|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=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 those methods to assign different names.
Required Element Summary | |
---|---|
java.lang.String[] |
name
URL names assigned to this method. |
Element Detail |
---|
public abstract java.lang.String[] name
Normally, for doXyz method, the name is xyz, but you can use this to assign multiple names or non-default names. Often useful for using names that contain non-identifier characters.
The same applies to getXyz methods.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |