@Target(value=METHOD) @Retention(value=RUNTIME) public @interface XmlHeader
Example usage:
@GET @Produces("application/xml") @XmlHeader("<?xml-stylesheet type='text/xsl' href='foobar.xsl' ?>") public JaxbBean get() { ... }
public abstract String value
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.