Package jetbrains.buildServer.util.http
Class AbstractRequest
- java.lang.Object
-
- jetbrains.buildServer.util.http.AbstractRequest
-
- Direct Known Subclasses:
AsyncRequest,HTTPRequestBuilder.Request
public abstract class AbstractRequest extends Object
-
-
Constructor Summary
Constructors Constructor Description AbstractRequest(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, URI proxyUri, SimpleCredentials proxyCredentials)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimpleCredentialsgetAuthenticateHeader()intgetConnectionTimeoutMs()Set<org.apache.commons.httpclient.Cookie>getCookies()SimpleCredentialsgetCredentials()CustomRedirectStrategygetCustomRedirectStrategy()EntityProducergetEntityProducer()Map<String,String>getHeaders()intgetMaxConnections()StringgetMethod()List<Pair<String,String>>getParameters()SimpleCredentialsgetProxyCredentials()URIgetProxyUri()RedirectStrategygetRedirectStrategy()intgetRetryCount()intgetTimeoutMS()KeyStoregetTrustStore()URIgetUri()StringgetUrl()StringgetUserAgent()booleanisAllowNonSecureConnection()booleanisEncodingInterceptor()booleanisWithDomainNameCheck()booleanisWithPreemptiveAuthentication()
-
-
-
Constructor Detail
-
AbstractRequest
public AbstractRequest(@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 URI proxyUri, @Nullable SimpleCredentials proxyCredentials)
-
-
Method Detail
-
getUri
@NotNull public URI getUri()
-
getUrl
@NotNull public String getUrl()
-
getCookies
@NotNull public Set<org.apache.commons.httpclient.Cookie> getCookies()
-
getTimeoutMS
public int getTimeoutMS()
-
getConnectionTimeoutMs
public int getConnectionTimeoutMs()
-
isAllowNonSecureConnection
public boolean isAllowNonSecureConnection()
-
isWithDomainNameCheck
public boolean isWithDomainNameCheck()
-
isWithPreemptiveAuthentication
public boolean isWithPreemptiveAuthentication()
-
isEncodingInterceptor
public boolean isEncodingInterceptor()
-
getRetryCount
public int getRetryCount()
-
getMethod
@Nullable public String getMethod()
-
getEntityProducer
@Nullable public EntityProducer getEntityProducer()
-
getCredentials
@Nullable public SimpleCredentials getCredentials()
-
getAuthenticateHeader
@Nullable public SimpleCredentials getAuthenticateHeader()
-
getRedirectStrategy
@Nullable public RedirectStrategy getRedirectStrategy()
-
getCustomRedirectStrategy
@Nullable public CustomRedirectStrategy getCustomRedirectStrategy()
-
getUserAgent
@Nullable public String getUserAgent()
-
getTrustStore
@Nullable public KeyStore getTrustStore()
-
getMaxConnections
public int getMaxConnections()
-
getProxyUri
@Nullable public URI getProxyUri()
-
getProxyCredentials
@Nullable public SimpleCredentials getProxyCredentials()
-
-