@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Resource
public void MyController {
@Resource
public void myResource() {
...
}
}
Modifier and Type | Optional Element and Description |
---|---|
String |
id
The controller method id.
|
HttpMethod[] |
method
The methods this resource is matching, by default all are matched.
|
public abstract String id
public abstract HttpMethod[] method
Copyright © 2015 eXo Platform SAS. All rights reserved.