public static enum ResourceStreamer.Options extends Enum<ResourceStreamer.Options>
ResourceStreamer.streamResource(org.apache.tapestry5.ioc.Resource, java.lang.String, java.util.Set)
.Enum Constant and Description |
---|
OMIT_EXPIRATION
Omit the normal expiration date header; this is appropriate for JavaScript modules, which cannot include
their own checksum in the URL (instead, we rely on ETags to prevent unwanted data transfer).
|
Modifier and Type | Method and Description |
---|---|
static ResourceStreamer.Options |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceStreamer.Options[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceStreamer.Options OMIT_EXPIRATION
public static ResourceStreamer.Options[] values()
for (ResourceStreamer.Options c : ResourceStreamer.Options.values()) System.out.println(c);
public static ResourceStreamer.Options 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 null5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.