Package org.opencms.loader
Enum Class CmsStoredContentDeliveryHelper.DeliveryResult
java.lang.Object
java.lang.Enum<CmsStoredContentDeliveryHelper.DeliveryResult>
org.opencms.loader.CmsStoredContentDeliveryHelper.DeliveryResult
- All Implemented Interfaces:
Serializable,Comparable<CmsStoredContentDeliveryHelper.DeliveryResult>,Constable
- Enclosing class:
CmsStoredContentDeliveryHelper
public static enum CmsStoredContentDeliveryHelper.DeliveryResult
extends Enum<CmsStoredContentDeliveryHelper.DeliveryResult>
Delivery result.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe content has been delivered.The content can not be delivered by this helper.The response has been answered with 304.The response has been answered with 416. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DELIVERED
The content has been delivered. -
NOT_DELIVERABLE
The content can not be delivered by this helper. -
NOT_MODIFIED
The response has been answered with 304. -
RANGE_NOT_SATISFIABLE
The response has been answered with 416.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-