- cacheControl() - Method in class com.github.kevinsawicki.http.HttpRequest
-
Get the 'Cache-Control' header from the response
- call() - Method in class com.github.kevinsawicki.http.HttpRequest.Operation
-
- charset() - Method in class com.github.kevinsawicki.http.HttpRequest
-
Get 'charset' parameter from 'Content-Type' response header
- CHARSET_UTF8 - Static variable in class com.github.kevinsawicki.http.HttpRequest
-
'UTF-8' charset name
- chunk(int) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Set chunked streaming mode to the given size
- CloseOperation(Closeable, boolean) - Constructor for class com.github.kevinsawicki.http.HttpRequest.CloseOperation
-
Create closer for operation
- closeOutput() - Method in class com.github.kevinsawicki.http.HttpRequest
-
Close output stream
- closeOutputQuietly() - Method in class com.github.kevinsawicki.http.HttpRequest
-
- code() - Method in class com.github.kevinsawicki.http.HttpRequest
-
Get the status code of the response
- code(AtomicInteger) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Set the value of the given
AtomicInteger to the status code of the
response
- com.github.kevinsawicki.http - package com.github.kevinsawicki.http
-
- connectTimeout(int) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Set connect timeout on connection to given value
- CONTENT_TYPE_FORM - Static variable in class com.github.kevinsawicki.http.HttpRequest
-
'application/x-www-form-urlencoded' content type header value
- CONTENT_TYPE_JSON - Static variable in class com.github.kevinsawicki.http.HttpRequest
-
'application/json' content type header value
- contentEncoding() - Method in class com.github.kevinsawicki.http.HttpRequest
-
Get the 'Content-Encoding' header from the response
- contentLength() - Method in class com.github.kevinsawicki.http.HttpRequest
-
Get the 'Content-Length' header from the response
- contentLength(String) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Set the 'Content-Length' request header to the given value
- contentLength(int) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Set the 'Content-Length' request header to the given value
- contentType(String) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Set the 'Content-Type' request header to the given value
- contentType(String, String) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Set the 'Content-Type' request header to the given value and charset
- contentType() - Method in class com.github.kevinsawicki.http.HttpRequest
-
Get the 'Content-Type' header from the response
- copy(InputStream, OutputStream) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Copy from input stream to output stream
- copy(Reader, Writer) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Copy from reader to writer
- create(URL) - Method in interface com.github.kevinsawicki.http.HttpRequest.ConnectionFactory
-
- create(URL, Proxy) - Method in interface com.github.kevinsawicki.http.HttpRequest.ConnectionFactory
-
- created() - Method in class com.github.kevinsawicki.http.HttpRequest
-
Is the response code a 201 Created?
- head(CharSequence) - Static method in class com.github.kevinsawicki.http.HttpRequest
-
Start a 'HEAD' request to the given URL
- head(URL) - Static method in class com.github.kevinsawicki.http.HttpRequest
-
Start a 'HEAD' request to the given URL
- head(CharSequence, Map<?, ?>, boolean) - Static method in class com.github.kevinsawicki.http.HttpRequest
-
Start a 'HEAD' request to the given URL along with the query params
- head(CharSequence, boolean, Object...) - Static method in class com.github.kevinsawicki.http.HttpRequest
-
Start a 'GET' request to the given URL along with the query params
- header(String, String) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Set header name to given value
- header(String, Number) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Set header name to given value
- header(Map.Entry<String, String>) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Set header to have given entry's key as the name and value as the value
- header(String) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Get a response header
- HEADER_ACCEPT - Static variable in class com.github.kevinsawicki.http.HttpRequest
-
'Accept' header name
- HEADER_ACCEPT_CHARSET - Static variable in class com.github.kevinsawicki.http.HttpRequest
-
'Accept-Charset' header name
- HEADER_ACCEPT_ENCODING - Static variable in class com.github.kevinsawicki.http.HttpRequest
-
'Accept-Encoding' header name
- HEADER_AUTHORIZATION - Static variable in class com.github.kevinsawicki.http.HttpRequest
-
'Authorization' header name
- HEADER_CACHE_CONTROL - Static variable in class com.github.kevinsawicki.http.HttpRequest
-
'Cache-Control' header name
- HEADER_CONTENT_ENCODING - Static variable in class com.github.kevinsawicki.http.HttpRequest
-
'Content-Encoding' header name
- HEADER_CONTENT_LENGTH - Static variable in class com.github.kevinsawicki.http.HttpRequest
-
'Content-Length' header name
- HEADER_CONTENT_TYPE - Static variable in class com.github.kevinsawicki.http.HttpRequest
-
'Content-Type' header name
- HEADER_DATE - Static variable in class com.github.kevinsawicki.http.HttpRequest
-
'Date' header name
- HEADER_ETAG - Static variable in class com.github.kevinsawicki.http.HttpRequest
-
'ETag' header name
- HEADER_EXPIRES - Static variable in class com.github.kevinsawicki.http.HttpRequest
-
'Expires' header name
- HEADER_IF_NONE_MATCH - Static variable in class com.github.kevinsawicki.http.HttpRequest
-
'If-None-Match' header name
- HEADER_LAST_MODIFIED - Static variable in class com.github.kevinsawicki.http.HttpRequest
-
'Last-Modified' header name
- HEADER_LOCATION - Static variable in class com.github.kevinsawicki.http.HttpRequest
-
'Location' header name
- HEADER_PROXY_AUTHORIZATION - Static variable in class com.github.kevinsawicki.http.HttpRequest
-
'Proxy-Authorization' header name
- HEADER_REFERER - Static variable in class com.github.kevinsawicki.http.HttpRequest
-
'Referer' header name
- HEADER_SERVER - Static variable in class com.github.kevinsawicki.http.HttpRequest
-
'Server' header name
- HEADER_USER_AGENT - Static variable in class com.github.kevinsawicki.http.HttpRequest
-
'User-Agent' header name
- headers(Map<String, String>) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Set all headers found in given map where the keys are the header names and
the values are the header values
- headers() - Method in class com.github.kevinsawicki.http.HttpRequest
-
Get all the response headers
- headers(String) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Get all values of the given header from the response
- HttpRequest - Class in com.github.kevinsawicki.http
-
A fluid interface for making HTTP requests using an underlying
HttpURLConnection (or sub-class).
- HttpRequest(CharSequence, String) - Constructor for class com.github.kevinsawicki.http.HttpRequest
-
Create HTTP connection wrapper
- HttpRequest(URL, String) - Constructor for class com.github.kevinsawicki.http.HttpRequest
-
Create HTTP connection wrapper
- HttpRequest.Base64 - Class in com.github.kevinsawicki.http
-
Encodes and decodes to and from Base64 notation.
- HttpRequest.CloseOperation<V> - Class in com.github.kevinsawicki.http
-
Class that ensures a
Closeable gets closed with proper exception
handling.
- HttpRequest.ConnectionFactory - Interface in com.github.kevinsawicki.http
-
- HttpRequest.FlushOperation<V> - Class in com.github.kevinsawicki.http
-
Class that and ensures a
Flushable gets flushed with proper
exception handling.
- HttpRequest.HttpRequestException - Exception in com.github.kevinsawicki.http
-
HTTP request exception whose cause is always an
IOException
- HttpRequest.Operation<V> - Class in com.github.kevinsawicki.http
-
Operation that handles executing a callback once complete and handling
nested exceptions
- HttpRequest.RequestOutputStream - Class in com.github.kevinsawicki.http
-
Request output stream
- HttpRequest.UploadProgress - Interface in com.github.kevinsawicki.http
-
Callback interface for reporting upload progress for a request.
- HttpRequestException(IOException) - Constructor for exception com.github.kevinsawicki.http.HttpRequest.HttpRequestException
-
Create a new HttpRequestException with the given cause
- PARAM_CHARSET - Static variable in class com.github.kevinsawicki.http.HttpRequest
-
'charset' header value parameter
- parameter(String, String) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Get parameter with given name from header value in response
- parameters(String) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Get all parameters from header value in response
- part(String, String) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Write part of a multipart request to the request body
- part(String, String, String) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Write part of a multipart request to the request body
- part(String, String, String, String) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Write part of a multipart request to the request body
- part(String, Number) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Write part of a multipart request to the request body
- part(String, String, Number) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Write part of a multipart request to the request body
- part(String, File) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Write part of a multipart request to the request body
- part(String, String, File) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Write part of a multipart request to the request body
- part(String, String, String, File) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Write part of a multipart request to the request body
- part(String, InputStream) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Write part of a multipart request to the request body
- part(String, String, String, InputStream) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Write part of a multipart request to the request body
- partHeader(String, String) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Write a multipart header to the response body
- post(CharSequence) - Static method in class com.github.kevinsawicki.http.HttpRequest
-
Start a 'POST' request to the given URL
- post(URL) - Static method in class com.github.kevinsawicki.http.HttpRequest
-
Start a 'POST' request to the given URL
- post(CharSequence, Map<?, ?>, boolean) - Static method in class com.github.kevinsawicki.http.HttpRequest
-
Start a 'POST' request to the given URL along with the query params
- post(CharSequence, boolean, Object...) - Static method in class com.github.kevinsawicki.http.HttpRequest
-
Start a 'POST' request to the given URL along with the query params
- progress(HttpRequest.UploadProgress) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Set the UploadProgress callback for this request
- proxyAuthorization(String) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Set the 'Proxy-Authorization' header to given value
- proxyBasic(String, String) - Method in class com.github.kevinsawicki.http.HttpRequest
-
Set the 'Proxy-Authorization' header to given values in Basic authentication
format
- proxyHost(String) - Static method in class com.github.kevinsawicki.http.HttpRequest
-
Set the 'http.proxyHost' and 'https.proxyHost' properties to the given host
value.
- proxyPort(int) - Static method in class com.github.kevinsawicki.http.HttpRequest
-
Set the 'http.proxyPort' and 'https.proxyPort' properties to the given port
number.
- put(CharSequence) - Static method in class com.github.kevinsawicki.http.HttpRequest
-
Start a 'PUT' request to the given URL
- put(URL) - Static method in class com.github.kevinsawicki.http.HttpRequest
-
Start a 'PUT' request to the given URL
- put(CharSequence, Map<?, ?>, boolean) - Static method in class com.github.kevinsawicki.http.HttpRequest
-
Start a 'PUT' request to the given URL along with the query params
- put(CharSequence, boolean, Object...) - Static method in class com.github.kevinsawicki.http.HttpRequest
-
Start a 'PUT' request to the given URL along with the query params