org.glassfish.jersey.message
Annotation Type XmlHeader
@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface XmlHeader
Allows to specify XML header for XML output produced by a resource method
it is attached to.
Example usage:
@GET
@Produces("application/xml")
@XmlHeader("<?xml-stylesheet type='text/xsl' href='foobar.xsl' ?>")
public JaxbBean get() {
...
}
- Author:
- Martin Matula
value
public abstract String value
Copyright © 2007-2013 Oracle Corporation. All Rights Reserved. Use is subject to license terms.