org.loom.annotation
Enum SSLPolicyType

java.lang.Object
  extended by java.lang.Enum<SSLPolicyType>
      extended by org.loom.annotation.SSLPolicyType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SSLPolicyType>

public enum SSLPolicyType
extends java.lang.Enum<SSLPolicyType>

Possible values for SSLPolicy annotations


Enum Constant Summary
DO_NOT_MODIFY
          The annotated event will accept either http or https requests
REQUIRES_INSECURE
          The annotated event requires insecure transport (http).
REQUIRES_SECURE
          The annotated event requires secure transport (https).
 
Method Summary
static SSLPolicyType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SSLPolicyType[] 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

REQUIRES_SECURE

public static final SSLPolicyType REQUIRES_SECURE
The annotated event requires secure transport (https).


REQUIRES_INSECURE

public static final SSLPolicyType REQUIRES_INSECURE
The annotated event requires insecure transport (http).


DO_NOT_MODIFY

public static final SSLPolicyType DO_NOT_MODIFY
The annotated event will accept either http or https requests

Method Detail

values

public static SSLPolicyType[] 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 (SSLPolicyType c : SSLPolicyType.values())
    System.out.println(c);

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

valueOf

public static SSLPolicyType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null