|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProviderConfig
public class GrizzlyAsyncHttpProviderConfig
AsyncHttpProviderConfig
implementation that allows customization
of the Grizzly runtime outside of the scope of what the
AsyncHttpClientConfig
offers.
GrizzlyAsyncHttpProviderConfig.Property
Nested Class Summary | |
---|---|
static class |
GrizzlyAsyncHttpProviderConfig.Property
Grizzly-specific customization properties. |
Constructor Summary | |
---|---|
GrizzlyAsyncHttpProviderConfig()
|
Method Summary | |
---|---|
AsyncHttpProviderConfig |
addProperty(GrizzlyAsyncHttpProviderConfig.Property name,
Object value)
Add a property that will be used when the AsyncHttpClient initialize its AsyncHttpProvider |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GrizzlyAsyncHttpProviderConfig()
Method Detail |
---|
public AsyncHttpProviderConfig addProperty(GrizzlyAsyncHttpProviderConfig.Property name, Object value)
AsyncHttpProvider
addProperty
in interface AsyncHttpProviderConfig<GrizzlyAsyncHttpProviderConfig.Property,Object>
name
- the name of the propertyvalue
- the value of the property
IllegalArgumentException
- if the type of the specified value
does not match the expected type of the specified GrizzlyAsyncHttpProviderConfig.Property
.public Object getProperty(GrizzlyAsyncHttpProviderConfig.Property name)
getProperty
in interface AsyncHttpProviderConfig<GrizzlyAsyncHttpProviderConfig.Property,Object>
public Object removeProperty(GrizzlyAsyncHttpProviderConfig.Property name)
removeProperty
in interface AsyncHttpProviderConfig<GrizzlyAsyncHttpProviderConfig.Property,Object>
public Set<Map.Entry<GrizzlyAsyncHttpProviderConfig.Property,Object>> propertiesSet()
propertiesSet
in interface AsyncHttpProviderConfig<GrizzlyAsyncHttpProviderConfig.Property,Object>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |