Interface ContentEncodingContextConfig

All Superinterfaces:
Prototype.Api, Prototype.Factory<ContentEncodingContext>
All Known Implementing Classes:
ContentEncodingContextConfig.BuilderBase.ContentEncodingContextConfigImpl

public interface ContentEncodingContextConfig extends Prototype.Api
Interface generated from definition. Please add javadoc to the definition interface.
See Also:
  • Method Details

    • builder

      Create a new fluent API builder to customize configuration.
      Returns:
      a new builder
    • builder

      Create a new fluent API builder from an existing instance.
      Parameters:
      instance - an existing instance used as a base for the builder
      Returns:
      a builder based on an instance
    • create

      static ContentEncodingContextConfig create(Config config)
      Create a new instance from configuration.
      Parameters:
      config - used to configure the new instance
      Returns:
      a new instance configured from configuration
    • create

      Create a new instance with default values.
      Returns:
      a new instance
    • contentEncodings

      List<ContentEncoding> contentEncodings()
      List of content encodings that should be used. Encodings configured here have priority over encodings discovered through service loader.
      Returns:
      list of content encodings to be used (such as gzip,deflate)