Skip navigation links
oracle.stellent.wcm.server.request
Enum SiteResponse.ResponseType
java.lang.Object
java.lang.Enum<SiteResponse.ResponseType>
oracle.stellent.wcm.server.request.SiteResponse.ResponseType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<SiteResponse.ResponseType>
- Enclosing class:
- SiteResponse
-
public static enum SiteResponse.ResponseType
- extends java.lang.Enum<SiteResponse.ResponseType>
type of response contained in the response body
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 |
VIEW
public static final SiteResponse.ResponseType VIEW
TEXT
public static final SiteResponse.ResponseType TEXT
REDIRECT
public static final SiteResponse.ResponseType REDIRECT
OBJECT
public static final SiteResponse.ResponseType OBJECT
values
public static SiteResponse.ResponseType[] 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 (SiteResponse.ResponseType c : SiteResponse.ResponseType.values())
System.out.println(c);
-
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static SiteResponse.ResponseType 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
Skip navigation links
Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.