Errai 3.0.1-SNAPSHOT

org.jboss.errai.enterprise.rebind
Class JaxrsHeaders

java.lang.Object
  extended by org.jboss.errai.enterprise.rebind.JaxrsHeaders

public class JaxrsHeaders
extends Object

Represents HTTP headers based on JAX-RS annotations.

Author:
Christian Sadilek

Constructor Summary
JaxrsHeaders(JaxrsHeaders headers)
           
 
Method Summary
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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaxrsHeaders

public JaxrsHeaders(JaxrsHeaders headers)
Method Detail

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()

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.