org.apache.shindig.gadgets.uri
Enum UriUtils.DisallowedHeaders

java.lang.Object
  extended by java.lang.Enum<UriUtils.DisallowedHeaders>
      extended by org.apache.shindig.gadgets.uri.UriUtils.DisallowedHeaders
All Implemented Interfaces:
Serializable, Comparable<UriUtils.DisallowedHeaders>
Enclosing class:
UriUtils

public static enum UriUtils.DisallowedHeaders
extends Enum<UriUtils.DisallowedHeaders>

Enum of disallowed response headers that should not be passed on as is to the user. The webserver serving out the response should be responsible for filling these.


Enum Constant Summary
CACHING_DIRECTIVES
           
CLIENT_STATE_DIRECTIVES
           
OUTPUT_TRANSFER_DIRECTIVES
           
POST_INCOMPATIBLE_DIRECTIVES
           
 
Method Summary
 Set<String> getDisallowedHeaders()
           
static UriUtils.DisallowedHeaders valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UriUtils.DisallowedHeaders[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OUTPUT_TRANSFER_DIRECTIVES

public static final UriUtils.DisallowedHeaders OUTPUT_TRANSFER_DIRECTIVES

CACHING_DIRECTIVES

public static final UriUtils.DisallowedHeaders CACHING_DIRECTIVES

CLIENT_STATE_DIRECTIVES

public static final UriUtils.DisallowedHeaders CLIENT_STATE_DIRECTIVES

POST_INCOMPATIBLE_DIRECTIVES

public static final UriUtils.DisallowedHeaders POST_INCOMPATIBLE_DIRECTIVES
Method Detail

values

public static UriUtils.DisallowedHeaders[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (UriUtils.DisallowedHeaders c : UriUtils.DisallowedHeaders.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static UriUtils.DisallowedHeaders valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getDisallowedHeaders

public Set<String> getDisallowedHeaders()


Copyright © 2007-2012. All Rights Reserved.