org.jboss.resteasy.annotations.cache

## Annotation Type Cache

-     @Target(value={TYPE,METHOD})
      @Retention(value=RUNTIME)
      public @interface Cache

  Set response Cache-Control header automatically.
  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `boolean` | `isPrivate`
    `int` | `maxAge`
    `boolean` | `mustRevalidate`
    `boolean` | `noStore`
    `boolean` | `noTransform`
    `boolean` | `proxyRevalidate`
    `int` | `sMaxAge`

- - ### Element Detail

    - #### maxAge

          public abstract int maxAge

      Default:
        -1

    - #### sMaxAge

          public abstract int sMaxAge

      Default:
        -1

    - #### noStore

          public abstract boolean noStore

      Default:
        false

    - #### noTransform

          public abstract boolean noTransform

      Default:
        false

    - #### mustRevalidate

          public abstract boolean mustRevalidate

      Default:
        false

    - #### proxyRevalidate

          public abstract boolean proxyRevalidate

      Default:
        false

    - #### isPrivate

          public abstract boolean isPrivate

      Default:
        false

Copyright © 2014. All Rights Reserved.