public class JaxrsHeaders extends Object
Constructor and Description |
---|
JaxrsHeaders(JaxrsHeaders headers) |
Modifier and Type | Method and Description |
---|---|
static JaxrsHeaders |
fromClass(MetaClass clazz)
Generates HTTP headers based on the JAX-RS annotations on the provided class or interface.
|
static JaxrsHeaders |
fromMethod(MetaMethod method)
Generates HTTP headers based on the JAX-RS annotations on the provided method.
|
Map<String,String> |
get() |
public JaxrsHeaders(JaxrsHeaders headers)
public static JaxrsHeaders fromClass(MetaClass clazz)
clazz
- the JAX-RS resource classpublic static JaxrsHeaders fromMethod(MetaMethod method)
clazz
- the JAX-RS resource classCopyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.