public static enum GrizzlyAsyncHttpProviderConfig.Property extends Enum<GrizzlyAsyncHttpProviderConfig.Property>
Enum Constant and Description |
---|
BUFFER_WEBSOCKET_FRAGMENTS
By default, Websocket messages that are fragmented will be buffered.
|
MAX_HTTP_PACKET_HEADER_SIZE
Defines the maximum HTTP packet header size.
|
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. |
Modifier and Type | Method and Description |
---|---|
static GrizzlyAsyncHttpProviderConfig.Property |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrizzlyAsyncHttpProviderConfig.Property[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrizzlyAsyncHttpProviderConfig.Property TRANSPORT_CUSTOMIZER
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
.TransportCustomizer
public static final GrizzlyAsyncHttpProviderConfig.Property MAX_HTTP_PACKET_HEADER_SIZE
public static final GrizzlyAsyncHttpProviderConfig.Property BUFFER_WEBSOCKET_FRAGMENTS
public static GrizzlyAsyncHttpProviderConfig.Property[] values()
for (GrizzlyAsyncHttpProviderConfig.Property c : GrizzlyAsyncHttpProviderConfig.Property.values()) System.out.println(c);
public static GrizzlyAsyncHttpProviderConfig.Property 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 nullCopyright © 2014. All Rights Reserved.