public class GrizzlyAsyncHttpProviderConfig extends Object implements AsyncHttpProviderConfig<GrizzlyAsyncHttpProviderConfig.Property,Object>
AsyncHttpProviderConfig implementation that allows customization
of the Grizzly runtime outside of the scope of what the
AsyncHttpClientConfig offers.GrizzlyAsyncHttpProviderConfig.Property| Modifier and Type | Class and Description |
|---|---|
static class |
GrizzlyAsyncHttpProviderConfig.Property
Grizzly-specific customization properties.
|
| Modifier and Type | Field and Description |
|---|---|
protected ConnectionPool |
connectionPool |
| Constructor and Description |
|---|
GrizzlyAsyncHttpProviderConfig() |
| Modifier and Type | Method and Description |
|---|---|
AsyncHttpProviderConfig |
addProperty(GrizzlyAsyncHttpProviderConfig.Property name,
Object value)
Add a property that will be used when the AsyncHttpClient initialize its
AsyncHttpProvider |
ConnectionPool |
getConnectionPool() |
Object |
getProperty(GrizzlyAsyncHttpProviderConfig.Property name)
Return the value associated with the property's name
|
Set<Map.Entry<GrizzlyAsyncHttpProviderConfig.Property,Object>> |
propertiesSet()
Return the curent entry set.
|
Object |
removeProperty(GrizzlyAsyncHttpProviderConfig.Property name)
Remove the value associated with the property's name
|
void |
setConnectionPool(ConnectionPool connectionPool) |
protected ConnectionPool connectionPool
public AsyncHttpProviderConfig addProperty(GrizzlyAsyncHttpProviderConfig.Property name, Object value)
AsyncHttpProviderConfigAsyncHttpProvideraddProperty in interface AsyncHttpProviderConfig<GrizzlyAsyncHttpProviderConfig.Property,Object>name - the name of the propertyvalue - the value of the propertyIllegalArgumentException - if the type of the specified value
does not match the expected type of the specified GrizzlyAsyncHttpProviderConfig.Property.public Object getProperty(GrizzlyAsyncHttpProviderConfig.Property name)
AsyncHttpProviderConfiggetProperty in interface AsyncHttpProviderConfig<GrizzlyAsyncHttpProviderConfig.Property,Object>public Object removeProperty(GrizzlyAsyncHttpProviderConfig.Property name)
AsyncHttpProviderConfigremoveProperty in interface AsyncHttpProviderConfig<GrizzlyAsyncHttpProviderConfig.Property,Object>public Set<Map.Entry<GrizzlyAsyncHttpProviderConfig.Property,Object>> propertiesSet()
AsyncHttpProviderConfigpropertiesSet in interface AsyncHttpProviderConfig<GrizzlyAsyncHttpProviderConfig.Property,Object>public ConnectionPool getConnectionPool()
public void setConnectionPool(ConnectionPool connectionPool)
Copyright © 2014. All Rights Reserved.