Annotation Interface Cache


@Target({TYPE,METHOD}) @Retention(RUNTIME) @Inherited public @interface Cache
Set response Cache-Control header automatically.
Version:
$Revision: 1 $
Author:
Bill Burke
  • Element Details

    • 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