Enum StreamableResourceProcessing

java.lang.Object
java.lang.Enum<StreamableResourceProcessing>
org.apache.tapestry5.services.assets.StreamableResourceProcessing
All Implemented Interfaces:
Serializable, Comparable<StreamableResourceProcessing>, java.lang.constant.Constable

Defines additional features desired when accessing the content of a Resource as a StreamableResource.
Since:
5.3
See Also:
  • Enum Constant Details

    • COMPRESSION_ENABLED

      The default behavior when the client supports compression, and an individual (non-aggregated) resources is being accessed. The resource may be minimized and both the compressed and uncompressed versions may be cached.
    • COMPRESSION_DISABLED

      As with COMPRESSION_ENABLED, but the final compression stage (and compression cache) is skipped. This is appropriate for individual resources where the client does not support compression.
    • FOR_AGGREGATION

      Turns off all caching and minification of the resource, which is appropriate when the individual resource will be aggregated with other resources to form a virtual composite.
      See Also:
  • Method Details

    • values

      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null