Package jetbrains.buildServer.util.http
Class AsyncRequest
- java.lang.Object
-
- jetbrains.buildServer.util.http.AbstractRequest
-
- jetbrains.buildServer.util.http.AsyncRequest
-
public class AsyncRequest extends AbstractRequest
-
-
Constructor Summary
Constructors Constructor Description AsyncRequest(URI uri, String url, Map<String,String> headers, Set<org.apache.commons.httpclient.Cookie> cookies, List<Pair<String,String>> nameValuePairs, boolean allowNonSecureConnection, boolean withDomainNameCheck, boolean withPreemptiveAuthentication, String method, EntityProducer entityProducer, SimpleCredentials credentials, SimpleCredentials authenticateHeader, RedirectStrategy redirectStrategy, CustomRedirectStrategy customRedirectStrategy, String userAgent, KeyStore trustStore, boolean encodingInterceptor, int retryCount, int timeoutMS, int connectTimeoutMs, int maxConnections, ExecutorService executorService, URI proxyUri, SimpleCredentials proxyCredentials)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutorService
getDefaultExecutorService()
ExecutorService
getExecutorService()
void
shutdownDefaultExecutorIfNeeded()
-
Methods inherited from class jetbrains.buildServer.util.http.AbstractRequest
getAuthenticateHeader, getConnectionTimeoutMs, getCookies, getCredentials, getCustomRedirectStrategy, getEntityProducer, getHeaders, getMaxConnections, getMethod, getParameters, getProxyCredentials, getProxyUri, getRedirectStrategy, getRetryCount, getTimeoutMS, getTrustStore, getUri, getUrl, getUserAgent, isAllowNonSecureConnection, isEncodingInterceptor, isWithDomainNameCheck, isWithPreemptiveAuthentication
-
-
-
-
Constructor Detail
-
AsyncRequest
public AsyncRequest(@NotNull URI uri, @NotNull String url, @NotNull Map<String,String> headers, @NotNull Set<org.apache.commons.httpclient.Cookie> cookies, @NotNull List<Pair<String,String>> nameValuePairs, boolean allowNonSecureConnection, boolean withDomainNameCheck, boolean withPreemptiveAuthentication, @Nullable String method, @Nullable EntityProducer entityProducer, @Nullable SimpleCredentials credentials, @Nullable SimpleCredentials authenticateHeader, @Nullable RedirectStrategy redirectStrategy, @Nullable CustomRedirectStrategy customRedirectStrategy, @Nullable String userAgent, @Nullable KeyStore trustStore, boolean encodingInterceptor, int retryCount, int timeoutMS, int connectTimeoutMs, int maxConnections, @Nullable ExecutorService executorService, @Nullable URI proxyUri, @Nullable SimpleCredentials proxyCredentials)
-
-
Method Detail
-
getExecutorService
@Nullable public ExecutorService getExecutorService()
-
getDefaultExecutorService
@NotNull public ExecutorService getDefaultExecutorService()
-
shutdownDefaultExecutorIfNeeded
public void shutdownDefaultExecutorIfNeeded()
-
-