@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 by accident.
The recommendation is not to cache the instance longer than a user's request.Modifier and Type | Field and Description |
---|---|
static boolean |
acceptAnyCertificate
Override to enable insecure handling of TLS connections.
|
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, findByDescribableClassName, findById, 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) 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–2017. All rights reserved.