Enum GrizzlyAsyncHttpProviderConfig.Property

java.lang.Object
java.lang.Enum<GrizzlyAsyncHttpProviderConfig.Property>
com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProviderConfig.Property
All Implemented Interfaces:
Serializable, Comparable<GrizzlyAsyncHttpProviderConfig.Property>, java.lang.constant.Constable
Enclosing class:
GrizzlyAsyncHttpProviderConfig

public static enum GrizzlyAsyncHttpProviderConfig.Property extends Enum<GrizzlyAsyncHttpProviderConfig.Property>
Grizzly-specific customization properties. Each property describes what it's used for, what the default value is (if any), and what the expected type the value of the property should be.
  • Enum Constant Details

    • TRANSPORT_CUSTOMIZER

      public static final GrizzlyAsyncHttpProviderConfig.Property TRANSPORT_CUSTOMIZER
      If this property is specified with a custom TransportCustomizer instance, the TCPNIOTransport instance that is created by GrizzlyAsyncHttpProvider will be passed to the customizer bypassing all default configuration of the transport typically performed by the provider. The type of the value associated with this property must be TransportCustomizer.class.
      See Also:
    • MAX_HTTP_PACKET_HEADER_SIZE

      public static final GrizzlyAsyncHttpProviderConfig.Property MAX_HTTP_PACKET_HEADER_SIZE
      Defines the maximum HTTP packet header size.
    • BUFFER_WEBSOCKET_FRAGMENTS

      public static final GrizzlyAsyncHttpProviderConfig.Property BUFFER_WEBSOCKET_FRAGMENTS
      By default, Websocket messages that are fragmented will be buffered. Once all fragments have been accumulated, the appropriate onMessage() call back will be invoked with the complete message. If this functionality is not desired, set this property to false.
    • DECOMPRESS_RESPONSE

      public static final GrizzlyAsyncHttpProviderConfig.Property DECOMPRESS_RESPONSE
      true (default), if an HTTP response has to be decompressed (if compressed by a server), or false if decompression has to be delegated to a user.
  • Method Details

    • values

      public static GrizzlyAsyncHttpProviderConfig.Property[] 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

      public static GrizzlyAsyncHttpProviderConfig.Property valueOf(String name)
      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