Package org.jboss.resteasy.annotations.cache

## Annotation Type Cache

-     @Target({TYPE,METHOD})
      @Retention(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 | Description
    --- | --- | ---
    `boolean` | `isPrivate` |
    `int` | `maxAge` |
    `boolean` | `mustRevalidate` |
    `boolean` | `noCache` |
    `boolean` | `noStore` |
    `boolean` | `noTransform` |
    `boolean` | `proxyRevalidate` |
    `int` | `sMaxAge` |

- - ### Element Detail

    - #### maxAge

          int maxAge

      Default:
        -1

  - - #### sMaxAge

          int sMaxAge

      Default:
        -1

  - - #### noStore

          boolean noStore

      Default:
        false

  - - #### noTransform

          boolean noTransform

      Default:
        false

  - - #### mustRevalidate

          boolean mustRevalidate

      Default:
        false

  - - #### proxyRevalidate

          boolean proxyRevalidate

      Default:
        false

  - - #### isPrivate

          boolean isPrivate

      Default:
        false

  - - #### noCache

          boolean noCache

      Default:
        false