Enum Class PublicRepositoryGateway.CacheClass
java.lang.Object
java.lang.Enum<PublicRepositoryGateway.CacheClass>
zeroecho.pki.server.PublicRepositoryGateway.CacheClass
- All Implemented Interfaces:
Serializable, Comparable<PublicRepositoryGateway.CacheClass>, Constable
- Enclosing class:
PublicRepositoryGateway
public static enum PublicRepositoryGateway.CacheClass
extends Enum<PublicRepositoryGateway.CacheClass>
Cache policy classes with distinct privacy semantics.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCapability-authorized responses must not be stored.Authenticated responses must remain private.Public alias responses require revalidation.Immutable public content may be cached indefinitely. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static PublicRepositoryGateway.CacheClass[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PUBLIC_IMMUTABLE
Immutable public content may be cached indefinitely. -
PUBLIC_ALIAS
Public alias responses require revalidation. -
PRIVATE_AUTHENTICATED
Authenticated responses must remain private. -
NO_STORE_CAPABILITY
Capability-authorized responses must not be stored.
-
-
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
-