|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Operation
Annotates a method on a ServiceHandler which expose a REST/RPC operation The name of the annotated method is the literal name of the method for JSON-RPC
| Required Element Summary | |
|---|---|
String[] |
httpMethods
The HTTP methods to bind this operation to. |
| Optional Element Summary | |
|---|---|
String |
bodyParam
The parameter name to bind the body content to in the RequestItem passed to the REST/RPC handler. |
String |
name
The name to match for the RPC operation to override the default behvaior which is to use the name of the annotated method |
String |
path
The path to match for the operation to override the service path matching and parameter binding. |
| Element Detail |
|---|
public abstract String[] httpMethods
public abstract String bodyParam
public abstract String path
public abstract String name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||