/*
 * $Id$
 *
 * Copyright 2011 samaxes.com
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.samaxes.filter.util;

/**
 * Possible Cache-Control directives for cacheable responses.
 * 
 * @author Samuel Santos
 * @version $Revision$
 */
public enum Cacheability {
    /**
     * Indicates that the response MAY be cached by any cache, even if it would normally be non-cacheable or cacheable
     * only within a non-shared cache.
     */
    PUBLIC("public"),
    /**
     * Indicates that all or part of the response message is intended for a single user and MUST NOT be cached by a
     * shared cache. This allows an origin server to state that the specified parts of the response are intended for
     * only one user and are not a valid response for requests by other users. A private (non-shared) cache MAY cache
     * the response.
     */
    PRIVATE("private");

    private String value;

    private Cacheability(String value) {
        this.value = value;
    }

    /**
     * Gets the Cache-Control directive value.
     * 
     * @return the Cache-Control directive value
     */
    public String getValue() {
        return this.value;
    }
}

@@ -1,15 +1,7 @@
 /*%0A
- * $Id$%0A
  *%0A 
@@ -697,17 +697,16 @@
 nses.%0A *
- 
 %0A * @aut
@@ -731,26 +731,43 @@
  * @
-version $Revision$
+author John Yeary%0A * @version 2.0.1
 %0A */
@@ -794,16 +794,17 @@
 ility %7B%0A
+%0A
     /**%0A
@@ -882,16 +882,23 @@
 it would
+%0A     *
  normall
@@ -928,23 +928,16 @@
 acheable
-%0A     *
  only wi
@@ -1074,16 +1074,23 @@
 ed for a
+%0A     *
  single 
@@ -1121,23 +1121,16 @@
 hed by a
-%0A     *
  shared 
@@ -1150,16 +1150,23 @@
 llows an
+%0A     *
  origin 
@@ -1225,16 +1225,23 @@
 onse are
+%0A     *
  intende
@@ -1245,23 +1245,16 @@
 nded for
-%0A     *
  only on
@@ -1304,16 +1304,23 @@
 uests by
+%0A     *
  other u
@@ -1363,23 +1363,16 @@
 AY cache
-%0A     *
  the res
@@ -1423,16 +1423,22 @@
 private 
+final 
 String v
@@ -1581,17 +1581,16 @@
 .%0A     *
- 
 %0A     * 

Set the value to final.