|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented @Retention(value=RUNTIME) @Target(value=METHOD) @Inherited public @interface Method
Overrides controller method values. Allows the method to define a name and request type to answer
| Optional Element Summary | |
|---|---|
java.lang.String |
name
The name of themethod, if provided. |
java.lang.String[] |
types
The list of request types that are answered by the current method; an empty list means any request type is answered ( default ). |
public abstract java.lang.String name
RestController.getMethodName()public abstract java.lang.String[] types
RequestType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||