All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.resteasy.annotations.interception.HeaderDecoratorPrecedence Maven / Gradle / Ivy

There is a newer version: 1.1.1
Show newest version
package org.jboss.resteasy.annotations.interception;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * HeaderDecoratorPrecedence interceptors should always come first as they decorate a response (on the server), or an
 * outgoing request (on the client) with special, user-defined, headers.  These headers may trigger behavior in other interceptors.
 *
 * @author Bill Burke
 * @version $Revision: 1 $
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Precedence("HEADER_DECORATOR")
public @interface HeaderDecoratorPrecedence
{
   public static final String PRECEDENCE_STRING = "HEADER_DECORATOR";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy