@Extension public class AHC extends hudson.model.Descriptor<AHC> implements hudson.model.Describable<AHC>
AsyncHttpClient instance, for use from the master,
configured with the master's proxy settings.
This shared instance will be gracefully closed when Jenkins is terminating, and will be recycled if the proxy
settings change or if somebody closes it my accident.
The recommendation is to not to cache the instance longer than a user's request.| Constructor and Description |
|---|
AHC()
Our constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AHC |
getDescriptor() |
String |
getDisplayName() |
static com.ning.http.client.AsyncHttpClient |
instance()
Returns the shared
AsyncHttpClient instance. |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic static com.ning.http.client.AsyncHttpClient instance()
AsyncHttpClient instance.AsyncHttpClient instance.IllegalStateException - if executed on a slave JVM.public AHC getDescriptor()
getDescriptor in interface hudson.model.Describable<AHC>Copyright © 2012-2015. All Rights Reserved.