Apache CXF API

org.apache.cxf.jaxrs.ext.xml
Annotation Type ElementClass


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface ElementClass

Can be applied to methods returning a JAX-RS Response


Optional Element Summary
 Class<?> request
           
 Class<?> response
           
 

request

public abstract Class<?> request
Default:
java.lang.Object.class

response

public abstract Class<?> response
Default:
java.lang.Object.class

Apache CXF API

Apache CXF