@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.| Modifier and Type | Field and Description |
|---|---|
static boolean |
acceptAnyCertificate
Deprecated.
Async HTTP Client 1.7.24-jenkins-1 includes this logic already
|
| 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, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @Deprecated public static boolean acceptAnyCertificate
public 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–2018. All rights reserved.