com.eclipsesource.restfuse.annotation
Annotation Type Header


@Retention(value=RUNTIME)
@Target(value=ANNOTATION_TYPE)
public @interface Header

The Header annotation represents a single header attribute of an http request. This headers can be set in a HttpTest annotation attached to a test method.

See Also:
HttpTest

Required Element Summary
 java.lang.String name
          The name attribute represents the name of the header element which comes before the ":" within a request header.
 java.lang.String value
          The value attribute represents the value of the header element which comes after the ":" within a request header.
 

Element Detail

name

public abstract java.lang.String name

The name attribute represents the name of the header element which comes before the ":" within a request header.


value

public abstract java.lang.String value

The value attribute represents the value of the header element which comes after the ":" within a request header.