org.apache.cxf.jaxrs.model.wadl
Annotation Type ElementClass
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface ElementClass
References the concrete response or request class for
WADL generator be able to generate representations and link
them to schema elements. For example, it can be applied to
methods returning a JAX-RS Response
.
request
public abstract Class<?> request
- Default:
- java.lang.Object.class
response
public abstract Class<?> response
- Default:
- java.lang.Object.class
Apache CXF