- get() - Method in interface com.atlassian.httpclient.api.Request.Builder
-
Executes this request through the
HttpClient service as a
GET operation.
- getAccept() - Method in interface com.atlassian.httpclient.api.Request
-
Returns this request's Accept header, if set.
- getAttribute(String) - Method in interface com.atlassian.httpclient.api.Request
-
Gets an attribute from the request.
- getAttributes() - Method in interface com.atlassian.httpclient.api.Request
-
Gets all attributes for this request.
- getBlacklistedAddresses() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- getCallbackExecutor() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- getConnectionPoolTimeToLive() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- getConnectionTimeout() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- getContentCharset() - Method in interface com.atlassian.httpclient.api.Message
-
Returns the currently set content charset value, if any.
- getContentLength() - Method in interface com.atlassian.httpclient.api.Message
-
Returns the content length for the entity in the message.
- getContentType() - Method in interface com.atlassian.httpclient.api.Message
-
Returns the IANA media type, minus charset information, for the current entity, if any.
- getEntity() - Method in interface com.atlassian.httpclient.api.Message
-
Returns the current entity in String form, if available, converting the underlying
entity stream to a string using the currently set content charset, or defaulting to the HTTP
standard of "ISO-8859-1" if no content charset has been specified.
- getEntityStream() - Method in interface com.atlassian.httpclient.api.Message
-
Returns the current entity as an input stream, or null if not set.
- getFailFunction() - Method in class com.atlassian.httpclient.api.DefaultResponseTransformation
-
- getFailFunction() - Method in interface com.atlassian.httpclient.api.ResponseTransformation
-
- getHeader(String) - Method in interface com.atlassian.httpclient.api.Message
-
Returns the specified header by name.
- getHeaders() - Method in interface com.atlassian.httpclient.api.EntityBuilder.Entity
-
Gets all HTTP headers for the represented entity.
- getHeaders() - Method in interface com.atlassian.httpclient.api.Message
-
Returns a map of all headers that have been set on this object.
- getHost() - Method in class com.atlassian.httpclient.api.factory.Host
-
- getIgnoreCookies() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
Whether or not to ignore cookies.
- getInputStream() - Method in interface com.atlassian.httpclient.api.EntityBuilder.Entity
-
Gets the input stream for the built entity.
- getIoSelectInterval() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
Determines time interval in milliseconds at which the I/O reactor wakes up to check for
timed out sessions and session requests.
- getIoThreadCount() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
Determines the number of I/O dispatch threads to be used by the I/O reactor.
- getLeaseTimeout() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- getMaxCacheEntries() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- getMaxCacheObjectSize() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- getMaxCallbackThreadPoolSize() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- getMaxConnectionsPerHost() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- getMaxEntitySize() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- getMaxHeaderLineSize() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- getMaxTotalConnections() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- getMethod() - Method in interface com.atlassian.httpclient.api.Request
-
- getNonProxyHosts() - Method in class com.atlassian.httpclient.api.factory.ProxyOptions
-
- getPort() - Method in class com.atlassian.httpclient.api.factory.Host
-
- getProxyHosts() - Method in class com.atlassian.httpclient.api.factory.ProxyOptions
-
Get the mapping of schemes and their proxy hosts.
- getProxyMode() - Method in class com.atlassian.httpclient.api.factory.ProxyOptions
-
- getProxyOptions() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- getRequestPreparer() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- getRequestTimeout() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- getResponse() - Method in exception com.atlassian.httpclient.api.ResponseTooLargeException
-
- getResponse() - Method in exception com.atlassian.httpclient.api.UnexpectedResponseException
-
Returns the unexpected response
- getSocketTimeout() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- getStatusCode() - Method in interface com.atlassian.httpclient.api.Response
-
Gets the status code of the response.
- getStatusText() - Method in interface com.atlassian.httpclient.api.Response
-
Gets the status text of the response.
- getSuccessFunctions() - Method in class com.atlassian.httpclient.api.DefaultResponseTransformation
-
- getSuccessFunctions() - Method in interface com.atlassian.httpclient.api.ResponseTransformation
-
- getSupportedProtocols() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
Gets the supported protocols that are to be used in favor of the protocols specified by the "https.protocols"
system property.
- getThreadPrefix() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- getThreadWorkQueueLimit() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- getUri() - Method in interface com.atlassian.httpclient.api.Request
-
Returns this request's URI, if set.
- getUserAgent() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- informational(Function<Response, ? extends T>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform 'informational' (1xx) HTTP responses.
- internalServerError(Function<Response, ? extends T>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform 'internal server error' (500) HTTP responses.
- isBadRequest() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is "Bad Request".
- isCacheDisabled() - Method in interface com.atlassian.httpclient.api.Request
-
- isClientError() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is categorized as "Client Error" (4xx).
- isConflict() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is "Conflict".
- isCreated() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is "Created".
- isError() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is categorized as either "Client Error"
or "Server Error".
- isForbidden() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is "Forbidden".
- isInformational() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is categorized as "Informational" (1xx).
- isInternalServerError() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is "Internal Server Error".
- isNoContent() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is "No Content".
- isNotFound() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is "Not Found".
- isNotModified() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is "Not Modified".
- isNotSuccessful() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is categorized as one of "Informational",
"Redirection", "Client Error" or "Server Error".
- isOk() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is "OK".
- isRedirection() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is categorized as "Redirection" (3xx).
- isSeeOther() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is "See Other".
- isServerError() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is categorized as "Server Error" (5xx).
- isServiceUnavailable() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is "Service Unavailable".
- isSuccessful() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is categorized as "Successful" (2xx).
- isUnauthorized() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is "Unauthorized".
- Scheme - Enum in com.atlassian.httpclient.api.factory
-
Represents a scheme for communicating with a host (e.g.
- schemeName() - Method in enum com.atlassian.httpclient.api.factory.Scheme
-
- seeOther(Function<Response, ? extends T>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform 'see other' (303) HTTP responses.
- serverError(Function<Response, ? extends T>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform 'server error' (5xx) HTTP responses.
- serviceUnavailable(Function<Response, ? extends T>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform 'service unavailable' (503) HTTP responses.
- setAccept(String) - Method in interface com.atlassian.httpclient.api.Request.Builder
-
Sets the Accept header for the request.
- setAttribute(String, String) - Method in interface com.atlassian.httpclient.api.Request.Builder
-
Sets an attribute on the request.
- setAttributes(Map<String, String>) - Method in interface com.atlassian.httpclient.api.Request.Builder
-
Sets attributes on the request.
- setBlacklistedAddresses(List<String>) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- setCacheDisabled() - Method in interface com.atlassian.httpclient.api.Request.Builder
-
Bypasses the cache for this request
- setCallbackExecutor(ExecutorService) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- setConnectionPoolTimeToLive(int, TimeUnit) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- setConnectionTimeout(int, TimeUnit) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
Sets how long, in milliseconds, to wait for a TCP connection
- setContentCharset(String) - Method in interface com.atlassian.httpclient.api.Common
-
Sets the charset for this object's entity, if any.
- setContentCharset(String) - Method in interface com.atlassian.httpclient.api.Response.Builder
-
- setContentLength(long) - Method in interface com.atlassian.httpclient.api.Request.Builder
-
Set the content length for the message.
- setContentType(String) - Method in interface com.atlassian.httpclient.api.Common
-
Sets the IANA media type, for the current entity, if any.
- setContentType(String) - Method in interface com.atlassian.httpclient.api.Response.Builder
-
- setEntity(String) - Method in interface com.atlassian.httpclient.api.Common
-
Sets this object's entity stream from a string.
- setEntity(EntityBuilder) - Method in interface com.atlassian.httpclient.api.Request.Builder
-
Sets the entity and any associated headers from an entity builder.
- setEntity(String) - Method in interface com.atlassian.httpclient.api.Response.Builder
-
- setEntityStream(InputStream) - Method in interface com.atlassian.httpclient.api.Common
-
Sets this object's entity as an input stream.
- setEntityStream(InputStream, String) - Method in interface com.atlassian.httpclient.api.Common
-
Sets this object's entity as an input stream, encoded with the specified charset.
- setEntityStream(InputStream, String) - Method in interface com.atlassian.httpclient.api.Response.Builder
-
- setEntityStream(InputStream) - Method in interface com.atlassian.httpclient.api.Response.Builder
-
- setHeader(String, String) - Method in interface com.atlassian.httpclient.api.Common
-
Sets an HTTP header on this object.
- setHeader(String, String) - Method in interface com.atlassian.httpclient.api.Request.Builder
-
- setHeader(String, String) - Method in interface com.atlassian.httpclient.api.Response.Builder
-
- setHeaders(Map<String, String>) - Method in interface com.atlassian.httpclient.api.Common
-
Copies the specified map of HTTP headers into this object.
- setHeaders(Map<String, String>) - Method in interface com.atlassian.httpclient.api.Response.Builder
-
- setIgnoreCookies(boolean) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- setIoSelectInterval(int, TimeUnit) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
Defines time interval in milliseconds at which the I/O reactor wakes up to check for
timed out sessions and session requests.
- setIoThreadCount(int) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- setLeaseTimeout(long) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- setMaxCacheEntries(int) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- setMaxCacheObjectSize(long) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- setMaxCallbackThreadPoolSize(int) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- setMaxConnectionsPerHost(int) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- setMaxEntitySize(long) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
param maxEntitySize The maximum entity size in bytes
- setMaxHeaderLineSize(int) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
Set the maximum allowed size for the HTTP response header line.
- setMaxTotalConnections(int) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- setParam(String, List<String>) - Method in interface com.atlassian.httpclient.api.FormBuilder
-
Sets multiple values for the named parameter, resetting any existing values in the process.
- setProxyOptions(ProxyOptions) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
Set proxy options for the client
- setRequestPreparer(Consumer<Request>) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- setRequestTimeout(int, TimeUnit) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- setSocketTimeout(int, TimeUnit) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- setStatusCode(int) - Method in interface com.atlassian.httpclient.api.Response.Builder
-
Sets the status code of the response.
- setStatusText(String) - Method in interface com.atlassian.httpclient.api.Response.Builder
-
Sets the status text of the response.
- setSupportedProtocols(String...) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
Override the default supported protocols specified by the system property "https.protocols"
- setThreadPrefix(String) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- setThreadWorkQueueLimit(int) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- setTrustSelfSignedCertificates(boolean) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- setUri(URI) - Method in interface com.atlassian.httpclient.api.Request.Builder
-
Sets this request's URI.
- setUserAgent(String) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
- successful(Function<Response, ? extends T>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform 'successful' (2xx) HTTP responses.