org.opensaml.saml2.binding.encoding
Enum HTTPArtifactEncoder.ENCODING_METHOD

java.lang.Object
  extended by java.lang.Enum<HTTPArtifactEncoder.ENCODING_METHOD>
      extended by org.opensaml.saml2.binding.encoding.HTTPArtifactEncoder.ENCODING_METHOD
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<HTTPArtifactEncoder.ENCODING_METHOD>
Enclosing class:
HTTPArtifactEncoder

public static enum HTTPArtifactEncoder.ENCODING_METHOD
extends java.lang.Enum<HTTPArtifactEncoder.ENCODING_METHOD>

Artifact encoding methods.


Enum Constant Summary
FORM
          Artifact FORM encoding with HTTP Post binding.
URL
          Artifact URL encoding with HTTP Redirect binding.
 
Method Summary
static HTTPArtifactEncoder.ENCODING_METHOD valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static HTTPArtifactEncoder.ENCODING_METHOD[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

URL

public static final HTTPArtifactEncoder.ENCODING_METHOD URL
Artifact URL encoding with HTTP Redirect binding.


FORM

public static final HTTPArtifactEncoder.ENCODING_METHOD FORM
Artifact FORM encoding with HTTP Post binding.

Method Detail

values

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

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

valueOf

public static HTTPArtifactEncoder.ENCODING_METHOD 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