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 SimpleCredentials
getAuthenticateHeader()
int
getConnectionTimeoutMs()
Set<org.apache.commons.httpclient.Cookie>
getCookies()
SimpleCredentials
getCredentials()
CustomRedirectStrategy
getCustomRedirectStrategy()
EntityProducer
getEntityProducer()
Map<String,String>
getHeaders()
int
getMaxConnections()
String
getMethod()
List<Pair<String,String>>
getParameters()
SimpleCredentials
getProxyCredentials()
URI
getProxyUri()
RedirectStrategy
getRedirectStrategy()
int
getRetryCount()
int
getTimeoutMS()
KeyStore
getTrustStore()
URI
getUri()
String
getUrl()
String
getUserAgent()
boolean
isAllowNonSecureConnection()
boolean
isEncodingInterceptor()
boolean
isWithDomainNameCheck()
boolean
isWithPreemptiveAuthentication()
-
-
-
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()
-
-