org.jboss.errai.enterprise.rebind
Class JaxrsHeaders
java.lang.Object
org.jboss.errai.enterprise.rebind.JaxrsHeaders
public class JaxrsHeaders
- extends Object
Represents HTTP headers based on JAX-RS annotations.
- Author:
- Christian Sadilek
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JaxrsHeaders
public JaxrsHeaders(JaxrsHeaders headers)
fromClass
public static JaxrsHeaders fromClass(MetaClass clazz)
- Generates HTTP headers based on the JAX-RS annotations on the provided class or interface.
- Parameters:
clazz
- the JAX-RS resource class
- Returns:
- headers
fromMethod
public static JaxrsHeaders fromMethod(MetaMethod method)
- Generates HTTP headers based on the JAX-RS annotations on the provided method.
- Parameters:
clazz
- the JAX-RS resource class
- Returns:
- headers
get
public Map<String,String> get()
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.