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

org.jboss.resteasy.annotations.cache.Cache Maven / Gradle / Ivy

There is a newer version: 4.0.0.Beta5
Show newest version
package org.jboss.resteasy.annotations.cache;

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

/**
 * Set response Cache-Control header automatically.
 *
 * @author Bill Burke
 * @version $Revision: 1 $
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Cache
{
   int maxAge() default -1;

   int sMaxAge() default -1;

   boolean noStore() default false;

   boolean noTransform() default false;

   boolean mustRevalidate() default false;

   boolean proxyRevalidate() default false;

   boolean isPrivate() default false;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy