public static enum AvatarToStream.CachePolicies extends Enum<AvatarToStream.CachePolicies> implements AvatarToStream.CachePolicy
Modifier and Type | Method and Description |
---|---|
void |
applyTo(javax.servlet.http.HttpServletResponse httpServletResponse) |
static AvatarToStream.CachePolicies |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AvatarToStream.CachePolicies[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AvatarToStream.CachePolicies DAYS_1
public static final AvatarToStream.CachePolicies YEARS_1
public static AvatarToStream.CachePolicies[] values()
for (AvatarToStream.CachePolicies c : AvatarToStream.CachePolicies.values()) System.out.println(c);
public static AvatarToStream.CachePolicies valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic void applyTo(javax.servlet.http.HttpServletResponse httpServletResponse)
applyTo
in interface AvatarToStream.CachePolicy
Copyright © 2002-2021 Atlassian. All Rights Reserved.