org.hippoecm.hst.cmsrest
Annotation Type Implements
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Implements
Indicates that the annotated class implements the REST API specified by the referenced class.
"Implements" here means that:
- the @Path annotation of the API class matches the @Path annotation of the implementation class
- each API method has a corresponding implementation method with
- the same name and return type
- all the exact same annotations as the API method (but possible more)
- the same parameters as the API method, ignoring all parameters annoted with
Context
.
value
public abstract Class<?> value
- Returns:
- the API class implemented by the annotated class.
Copyright © 2008-2012 Hippo. All Rights Reserved.