@Extension public final class GraniteAHCFactory extends hudson.model.Descriptor<GraniteAHCFactory> implements hudson.model.Describable<GraniteAHCFactory>, Serializable
AsyncHttpClient instances| Constructor and Description |
|---|
GraniteAHCFactory() |
GraniteAHCFactory(boolean loadDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
com.cloudbees.plugins.credentials.common.AbstractIdCredentialsListBoxModel |
doFillCredentialsIdItems(hudson.security.AccessControlled context,
String value) |
int |
getConnectionTimeoutInMs() |
String |
getCredentialsId() |
com.cloudbees.plugins.credentials.Credentials |
getDefaultCredentials() |
hudson.model.Descriptor<GraniteAHCFactory> |
getDescriptor() |
String |
getDisplayName() |
static GraniteAHCFactory |
getFactoryInstance() |
int |
getIdleConnectionTimeoutInMs() |
com.ning.http.client.AsyncHttpClient |
getInstance() |
String |
getPreemptLoginForBaseUrls() |
static com.ning.http.client.ProxyServer |
getProxyServer() |
int |
getRequestTimeoutInMs() |
void |
setConnectionTimeoutInMs(int connectionTimeoutInMs) |
void |
setCredentialsId(String credentialsId) |
void |
setIdleConnectionTimeoutInMs(int idleConnectionTimeoutInMs) |
void |
setPreemptLoginForBaseUrls(String preemptLoginForBaseUrls) |
void |
setRequestTimeoutInMs(int requestTimeoutInMs) |
boolean |
shouldPreemptLoginForBaseUrl(String baseUrl)
compare the baseUrl against the configured list of patterns that should preempt login using basic auth
|
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, 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, toMappublic GraniteAHCFactory()
public GraniteAHCFactory(boolean loadDescriptor)
public hudson.model.Descriptor<GraniteAHCFactory> getDescriptor()
getDescriptor in interface hudson.model.Describable<GraniteAHCFactory>public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<GraniteAHCFactory>hudson.model.Descriptor.FormExceptionpublic String getCredentialsId()
public void setCredentialsId(String credentialsId)
public String getPreemptLoginForBaseUrls()
public void setPreemptLoginForBaseUrls(String preemptLoginForBaseUrls)
public int getConnectionTimeoutInMs()
public void setConnectionTimeoutInMs(int connectionTimeoutInMs)
public int getIdleConnectionTimeoutInMs()
public void setIdleConnectionTimeoutInMs(int idleConnectionTimeoutInMs)
public int getRequestTimeoutInMs()
public void setRequestTimeoutInMs(int requestTimeoutInMs)
public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<GraniteAHCFactory>public com.cloudbees.plugins.credentials.common.AbstractIdCredentialsListBoxModel doFillCredentialsIdItems(@AncestorInPath
hudson.security.AccessControlled context,
@QueryParameter(value="value")
String value)
public com.cloudbees.plugins.credentials.Credentials getDefaultCredentials()
public com.ning.http.client.AsyncHttpClient getInstance()
public boolean shouldPreemptLoginForBaseUrl(String baseUrl)
baseUrl - the base url to checkpublic static GraniteAHCFactory getFactoryInstance()
public static com.ning.http.client.ProxyServer getProxyServer()
Copyright © 2013–2016. All rights reserved.