com.ning.http.client.providers.grizzly
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>
- 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.
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:
TransportCustomizer
values
public static GrizzlyAsyncHttpProviderConfig.Property[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (GrizzlyAsyncHttpProviderConfig.Property c : GrizzlyAsyncHttpProviderConfig.Property.values())
System.out.println(c);
- 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
Copyright © 2012. All Rights Reserved.