|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.loom.annotation.processor.AbstractAnnotationProcessor
org.loom.annotation.processor.RestAnnotationProcessor
public class RestAnnotationProcessor
Processes JSR311 JAX-RS annotations
Path, GET, POST, DELETE, PUT are supported
| Constructor Summary | |
|---|---|
RestAnnotationProcessor()
|
|
| Method Summary | |
|---|---|
java.lang.String |
concatMethodMapping(java.lang.String methodPrefix,
java.lang.String methodMapping)
Concatenate a common method prefix (as specified in the action mapping) with this concrete method mapping |
java.lang.String |
getHandle(java.lang.String actionPath)
Extract the handle from the provided action path |
int |
getOrder()
This annotation processor should be executed before any other |
void |
process(Event event)
Expands an ActionMapping with the metadata annotated to an Action class. |
protected void |
processEventParameters(Event event)
|
| Methods inherited from class org.loom.annotation.processor.AbstractAnnotationProcessor |
|---|
compareTo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RestAnnotationProcessor()
| Method Detail |
|---|
public int getOrder()
getOrder in interface AnnotationProcessorgetOrder in class AbstractAnnotationProcessorpublic void process(Event event)
AnnotationProcessor
process in interface AnnotationProcessorprocess in class AbstractAnnotationProcessorevent - the event to be modifiedprotected void processEventParameters(Event event)
public java.lang.String concatMethodMapping(java.lang.String methodPrefix,
java.lang.String methodMapping)
public java.lang.String getHandle(java.lang.String actionPath)
actionPath - the action path specified by the Path annotation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||