A B C D E F G H I K L M N O P R S T U W _ 
All Classes All Packages

A

accept(String) - Method in class com.github.kevinsawicki.http.HttpRequest
Set the 'Accept' header to given value
acceptCharset(String) - Method in class com.github.kevinsawicki.http.HttpRequest
Set the 'Accept-Charset' header to given value
acceptEncoding(String) - Method in class com.github.kevinsawicki.http.HttpRequest
Set the 'Accept-Encoding' header to given value
acceptGzipEncoding() - Method in class com.github.kevinsawicki.http.HttpRequest
Set the 'Accept-Encoding' header to 'gzip'
acceptJson() - Method in class com.github.kevinsawicki.http.HttpRequest
Set the 'Accept' header to 'application/json'
addParam(Object, Object, StringBuilder) - Static method in class com.github.kevinsawicki.http.HttpRequest
 
addParamPrefix(String, StringBuilder) - Static method in class com.github.kevinsawicki.http.HttpRequest
 
addPathSeparator(String, StringBuilder) - Static method in class com.github.kevinsawicki.http.HttpRequest
 
append(CharSequence, Object...) - Static method in class com.github.kevinsawicki.http.HttpRequest
Append given name/value pairs as query parameters to the base URL
append(CharSequence, Map<?, ?>) - Static method in class com.github.kevinsawicki.http.HttpRequest
Append given map as query parameters to the base URL
arrayToList(Object) - Static method in class com.github.kevinsawicki.http.HttpRequest
Represents array of any type as list of objects so we can easily iterate over it
authorization(String) - Method in class com.github.kevinsawicki.http.HttpRequest
Set the 'Authorization' header to given value

B

badRequest() - Method in class com.github.kevinsawicki.http.HttpRequest
Is the response code a 400 Bad Request?
Base64() - Constructor for class com.github.kevinsawicki.http.HttpRequest.Base64
Defeats instantiation.
basic(String, String) - Method in class com.github.kevinsawicki.http.HttpRequest
Set the 'Authorization' header to given values in Basic authentication format
body() - Method in class com.github.kevinsawicki.http.HttpRequest
Get response as String using character set returned from HttpRequest.charset()
body(String) - Method in class com.github.kevinsawicki.http.HttpRequest
Get response as String in given character set
body(AtomicReference<String>) - Method in class com.github.kevinsawicki.http.HttpRequest
Get the response body as a String and set it as the value of the given reference.
body(AtomicReference<String>, String) - Method in class com.github.kevinsawicki.http.HttpRequest
Get the response body as a String and set it as the value of the given reference.
BOUNDARY - Static variable in class com.github.kevinsawicki.http.HttpRequest
 
buffer() - Method in class com.github.kevinsawicki.http.HttpRequest
Get response in a buffered stream
bufferedReader() - Method in class com.github.kevinsawicki.http.HttpRequest
Get buffered reader to response body using the character set returned from HttpRequest.charset() and the configured buffer size
bufferedReader(String) - Method in class com.github.kevinsawicki.http.HttpRequest
Get buffered reader to response body using the given character set r and the configured buffer size
bufferSize - Variable in class com.github.kevinsawicki.http.HttpRequest
 
bufferSize() - Method in class com.github.kevinsawicki.http.HttpRequest
Get the configured buffer size
bufferSize(int) - Method in class com.github.kevinsawicki.http.HttpRequest
Set the size used when buffering and copying between streams
bytes() - Method in class com.github.kevinsawicki.http.HttpRequest
Get response as byte array
byteStream() - Method in class com.github.kevinsawicki.http.HttpRequest
Create byte array output stream

C

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
closeable - Variable in class com.github.kevinsawicki.http.HttpRequest.CloseOperation
 
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
Call HttpRequest.closeOutput() and re-throw a caught IOExceptions as an HttpRequest.HttpRequestException
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
 
connection - Variable in class com.github.kevinsawicki.http.HttpRequest
 
CONNECTION_FACTORY - Static variable in class com.github.kevinsawicki.http.HttpRequest
 
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
CONTENT_TYPE_MULTIPART - Static variable in class com.github.kevinsawicki.http.HttpRequest
 
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(int) - Method in class com.github.kevinsawicki.http.HttpRequest
Set the 'Content-Length' request header to the given value
contentLength(String) - Method in class com.github.kevinsawicki.http.HttpRequest
Set the 'Content-Length' request header to the given value
contentType() - Method in class com.github.kevinsawicki.http.HttpRequest
Get the 'Content-Type' header from the response
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
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
Open an HttpURLConnection for the specified URL.
create(URL, Proxy) - Method in interface com.github.kevinsawicki.http.HttpRequest.ConnectionFactory
Open an HttpURLConnection for the specified URL and Proxy.
createConnection() - Method in class com.github.kevinsawicki.http.HttpRequest
 
created() - Method in class com.github.kevinsawicki.http.HttpRequest
Is the response code a 201 Created?
createProxy() - Method in class com.github.kevinsawicki.http.HttpRequest
 
CRLF - Static variable in class com.github.kevinsawicki.http.HttpRequest
 

D

date() - Method in class com.github.kevinsawicki.http.HttpRequest
Get the 'Date' header from the response
dateHeader(String) - Method in class com.github.kevinsawicki.http.HttpRequest
Get a date header from the response falling back to returning -1 if the header is missing or parsing fails
dateHeader(String, long) - Method in class com.github.kevinsawicki.http.HttpRequest
Get a date header from the response falling back to returning the given default value if the header is missing or parsing fails
DEFAULT - Static variable in interface com.github.kevinsawicki.http.HttpRequest.ConnectionFactory
A HttpRequest.ConnectionFactory which uses the built-in URL.openConnection()
DEFAULT - Static variable in interface com.github.kevinsawicki.http.HttpRequest.UploadProgress
 
delete(CharSequence) - Static method in class com.github.kevinsawicki.http.HttpRequest
Start a 'DELETE' request to the given URL
delete(CharSequence, boolean, Object...) - Static method in class com.github.kevinsawicki.http.HttpRequest
Start a 'DELETE' request to the given URL along with the query params
delete(CharSequence, Map<?, ?>, boolean) - Static method in class com.github.kevinsawicki.http.HttpRequest
Start a 'DELETE' request to the given URL along with the query params
delete(URL) - Static method in class com.github.kevinsawicki.http.HttpRequest
Start a 'DELETE' request to the given URL
disconnect() - Method in class com.github.kevinsawicki.http.HttpRequest
Disconnect the connection
done() - Method in class com.github.kevinsawicki.http.HttpRequest.CloseOperation
 
done() - Method in class com.github.kevinsawicki.http.HttpRequest.FlushOperation
 
done() - Method in class com.github.kevinsawicki.http.HttpRequest.Operation
Operation complete callback

E

EMPTY_STRINGS - Static variable in class com.github.kevinsawicki.http.HttpRequest
 
encode(CharSequence) - Static method in class com.github.kevinsawicki.http.HttpRequest
Encode the given URL as an ASCII String
encode(String) - Static method in class com.github.kevinsawicki.http.HttpRequest.Base64
Encode string as a byte array in Base64 annotation.
encode3to4(byte[], int, int, byte[], int) - Static method in class com.github.kevinsawicki.http.HttpRequest.Base64
Encodes up to three bytes of the array source and writes the resulting four Base64 bytes to destination.
encodeBytes(byte[]) - Static method in class com.github.kevinsawicki.http.HttpRequest.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int) - Static method in class com.github.kevinsawicki.http.HttpRequest.Base64
Encodes a byte array into Base64 notation.
encodeBytesToBytes(byte[], int, int) - Static method in class com.github.kevinsawicki.http.HttpRequest.Base64
Similar to HttpRequest.Base64.encodeBytes(byte[], int, int) but returns a byte array instead of instantiating a String.
encoder - Variable in class com.github.kevinsawicki.http.HttpRequest.RequestOutputStream
 
ENCODING_GZIP - Static variable in class com.github.kevinsawicki.http.HttpRequest
'gzip' encoding header value
EQUALS_SIGN - Static variable in class com.github.kevinsawicki.http.HttpRequest.Base64
The equals sign (=) as a byte.
eTag() - Method in class com.github.kevinsawicki.http.HttpRequest
Get the 'ETag' header from the response
expires() - Method in class com.github.kevinsawicki.http.HttpRequest
Get the 'Expires' header from the response

F

flushable - Variable in class com.github.kevinsawicki.http.HttpRequest.FlushOperation
 
FlushOperation(Flushable) - Constructor for class com.github.kevinsawicki.http.HttpRequest.FlushOperation
Create flush operation
followRedirects(boolean) - Method in class com.github.kevinsawicki.http.HttpRequest
Set whether or not the underlying connection should follow redirects in the response.
form - Variable in class com.github.kevinsawicki.http.HttpRequest
 
form(Object, Object) - Method in class com.github.kevinsawicki.http.HttpRequest
Write the name/value pair as form data to the request body
form(Object, Object, String) - Method in class com.github.kevinsawicki.http.HttpRequest
Write the name/value pair as form data to the request body
form(Map.Entry<?, ?>) - Method in class com.github.kevinsawicki.http.HttpRequest
Write the key and value in the entry as form data to the request body
form(Map.Entry<?, ?>, String) - Method in class com.github.kevinsawicki.http.HttpRequest
Write the key and value in the entry as form data to the request body
form(Map<?, ?>) - Method in class com.github.kevinsawicki.http.HttpRequest
Write the values in the map as form data to the request body
form(Map<?, ?>, String) - Method in class com.github.kevinsawicki.http.HttpRequest
Write the values in the map as encoded form data to the request body

G

get(CharSequence) - Static method in class com.github.kevinsawicki.http.HttpRequest
Start a 'GET' request to the given URL
get(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
get(CharSequence, Map<?, ?>, boolean) - Static method in class com.github.kevinsawicki.http.HttpRequest
Start a 'GET' request to the given URL along with the query params
get(URL) - Static method in class com.github.kevinsawicki.http.HttpRequest
Start a 'GET' request to the given URL
getCause() - Method in exception com.github.kevinsawicki.http.HttpRequest.HttpRequestException
Get IOException that triggered this request exception
getConnection() - Method in class com.github.kevinsawicki.http.HttpRequest
Get underlying connection
getParam(String, String) - Method in class com.github.kevinsawicki.http.HttpRequest
Get parameter value from header value
getParams(String) - Method in class com.github.kevinsawicki.http.HttpRequest
Get parameter values from header value
getTrustedFactory() - Static method in class com.github.kevinsawicki.http.HttpRequest
 
getTrustedVerifier() - Static method in class com.github.kevinsawicki.http.HttpRequest
 
getValidCharset(String) - Static method in class com.github.kevinsawicki.http.HttpRequest
 

H

head(CharSequence) - Static method in class com.github.kevinsawicki.http.HttpRequest
Start a 'HEAD' request to the given URL
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
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(URL) - Static method in class com.github.kevinsawicki.http.HttpRequest
Start a 'HEAD' request to the given URL
header(String) - Method in class com.github.kevinsawicki.http.HttpRequest
Get a response header
header(String, Number) - Method in class com.github.kevinsawicki.http.HttpRequest
Set header name to given value
header(String, String) - 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_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() - 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
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
httpProxyHost - Variable in class com.github.kevinsawicki.http.HttpRequest
 
httpProxyPort - Variable in class com.github.kevinsawicki.http.HttpRequest
 
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
Creates HTTP connections for urls.
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

I

ifModifiedSince(long) - Method in class com.github.kevinsawicki.http.HttpRequest
Set the 'If-Modified-Since' request header to the given value
ifNoneMatch(String) - Method in class com.github.kevinsawicki.http.HttpRequest
Set the 'If-None-Match' request header to the given value
ignoreCloseExceptions - Variable in class com.github.kevinsawicki.http.HttpRequest.CloseOperation
 
ignoreCloseExceptions - Variable in class com.github.kevinsawicki.http.HttpRequest
 
ignoreCloseExceptions() - Method in class com.github.kevinsawicki.http.HttpRequest
Get whether or not exceptions thrown by Closeable.close() are ignored
ignoreCloseExceptions(boolean) - Method in class com.github.kevinsawicki.http.HttpRequest
Set whether or not to ignore exceptions that occur from calling Closeable.close()
incrementTotalSize(long) - Method in class com.github.kevinsawicki.http.HttpRequest
 
intHeader(String) - Method in class com.github.kevinsawicki.http.HttpRequest
Get an integer header from the response falling back to returning -1 if the header is missing or parsing fails
intHeader(String, int) - Method in class com.github.kevinsawicki.http.HttpRequest
Get an integer header value from the response falling back to the given default value if the header is missing or if parsing fails
isBodyEmpty() - Method in class com.github.kevinsawicki.http.HttpRequest
Is the response body empty?

K

keepAlive(boolean) - Static method in class com.github.kevinsawicki.http.HttpRequest
Set the 'http.keepAlive' property to the given value.

L

lastModified() - Method in class com.github.kevinsawicki.http.HttpRequest
Get the 'Last-Modified' header from the response
location() - Method in class com.github.kevinsawicki.http.HttpRequest
Get the 'Location' header from the response

M

maxConnections(int) - Static method in class com.github.kevinsawicki.http.HttpRequest
Set the 'http.maxConnections' property to the given value.
message() - Method in class com.github.kevinsawicki.http.HttpRequest
Get status message of the response
method() - Method in class com.github.kevinsawicki.http.HttpRequest
Get the HTTP method of this request
METHOD_DELETE - Static variable in class com.github.kevinsawicki.http.HttpRequest
'DELETE' request method
METHOD_GET - Static variable in class com.github.kevinsawicki.http.HttpRequest
'GET' request method
METHOD_HEAD - Static variable in class com.github.kevinsawicki.http.HttpRequest
'HEAD' request method
METHOD_OPTIONS - Static variable in class com.github.kevinsawicki.http.HttpRequest
'OPTIONS' options method
METHOD_POST - Static variable in class com.github.kevinsawicki.http.HttpRequest
'POST' request method
METHOD_PUT - Static variable in class com.github.kevinsawicki.http.HttpRequest
'PUT' request method
METHOD_TRACE - Static variable in class com.github.kevinsawicki.http.HttpRequest
'TRACE' request method
multipart - Variable in class com.github.kevinsawicki.http.HttpRequest
 

N

noContent() - Method in class com.github.kevinsawicki.http.HttpRequest
Is the response code a 204 No Content?
nonProxyHosts(String...) - Static method in class com.github.kevinsawicki.http.HttpRequest
Set the 'http.nonProxyHosts' property to the given host values.
notFound() - Method in class com.github.kevinsawicki.http.HttpRequest
Is the response code a 404 Not Found?
notModified() - Method in class com.github.kevinsawicki.http.HttpRequest
Is the response code a 304 Not Modified?

O

ok() - Method in class com.github.kevinsawicki.http.HttpRequest
Is the response code a 200 OK?
onUpload(long, long) - Method in interface com.github.kevinsawicki.http.HttpRequest.UploadProgress
Callback invoked as data is uploaded by the request.
openOutput() - Method in class com.github.kevinsawicki.http.HttpRequest
Open output stream
Operation() - Constructor for class com.github.kevinsawicki.http.HttpRequest.Operation
 
options(CharSequence) - Static method in class com.github.kevinsawicki.http.HttpRequest
Start an 'OPTIONS' request to the given URL
options(URL) - Static method in class com.github.kevinsawicki.http.HttpRequest
Start an 'OPTIONS' request to the given URL
output - Variable in class com.github.kevinsawicki.http.HttpRequest
 

P

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, 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, Number) - Method in class com.github.kevinsawicki.http.HttpRequest
Write part of a multipart request to the request body
part(String, String) - 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, Number) - 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, File) - 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
part(String, String, String, String) - 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(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
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(URL) - Static method in class com.github.kevinsawicki.http.HttpRequest
Start a 'POST' request to the given URL
PREFERRED_ENCODING - Static variable in class com.github.kevinsawicki.http.HttpRequest.Base64
Preferred encoding.
progress - Variable in class com.github.kevinsawicki.http.HttpRequest
 
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(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
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(URL) - Static method in class com.github.kevinsawicki.http.HttpRequest
Start a 'PUT' request to the given URL

R

reader() - Method in class com.github.kevinsawicki.http.HttpRequest
Get reader to response body using the character set returned from HttpRequest.charset()
reader(String) - Method in class com.github.kevinsawicki.http.HttpRequest
Get reader to response body using given character set.
readTimeout(int) - Method in class com.github.kevinsawicki.http.HttpRequest
Set read timeout on connection to given value
receive(File) - Method in class com.github.kevinsawicki.http.HttpRequest
Stream response body to file
receive(OutputStream) - Method in class com.github.kevinsawicki.http.HttpRequest
Stream response to given output stream
receive(PrintStream) - Method in class com.github.kevinsawicki.http.HttpRequest
Stream response to given print stream
receive(Writer) - Method in class com.github.kevinsawicki.http.HttpRequest
Receive response into the given writer
receive(Appendable) - Method in class com.github.kevinsawicki.http.HttpRequest
Receive response into the given appendable
referer(String) - Method in class com.github.kevinsawicki.http.HttpRequest
Set the 'Referer' header to given value
requestMethod - Variable in class com.github.kevinsawicki.http.HttpRequest
 
RequestOutputStream(OutputStream, String, int) - Constructor for class com.github.kevinsawicki.http.HttpRequest.RequestOutputStream
Create request output stream
run() - Method in class com.github.kevinsawicki.http.HttpRequest.Operation
Run operation

S

send(byte[]) - Method in class com.github.kevinsawicki.http.HttpRequest
Write byte array to request body
send(File) - Method in class com.github.kevinsawicki.http.HttpRequest
Write contents of file to request body
send(InputStream) - Method in class com.github.kevinsawicki.http.HttpRequest
Write stream to request body
send(Reader) - Method in class com.github.kevinsawicki.http.HttpRequest
Write reader to request body
send(CharSequence) - Method in class com.github.kevinsawicki.http.HttpRequest
Write char sequence to request body
serialVersionUID - Static variable in exception com.github.kevinsawicki.http.HttpRequest.HttpRequestException
 
server() - Method in class com.github.kevinsawicki.http.HttpRequest
Get the 'Server' header from the response
serverError() - Method in class com.github.kevinsawicki.http.HttpRequest
Is the response code a 500 Internal Server Error?
setConnectionFactory(HttpRequest.ConnectionFactory) - Static method in class com.github.kevinsawicki.http.HttpRequest
Specify the HttpRequest.ConnectionFactory used to create new requests.
setProperty(String, String) - Static method in class com.github.kevinsawicki.http.HttpRequest
Set property to given value.
startPart() - Method in class com.github.kevinsawicki.http.HttpRequest
Start part of a multipart
stream() - Method in class com.github.kevinsawicki.http.HttpRequest
Get stream to response body

T

toString() - Method in class com.github.kevinsawicki.http.HttpRequest
 
totalSize - Variable in class com.github.kevinsawicki.http.HttpRequest
 
totalWritten - Variable in class com.github.kevinsawicki.http.HttpRequest
 
trace(CharSequence) - Static method in class com.github.kevinsawicki.http.HttpRequest
Start a 'TRACE' request to the given URL
trace(URL) - Static method in class com.github.kevinsawicki.http.HttpRequest
Start a 'TRACE' request to the given URL
trustAllCerts() - Method in class com.github.kevinsawicki.http.HttpRequest
Configure HTTPS connection to trust all certificates
trustAllHosts() - Method in class com.github.kevinsawicki.http.HttpRequest
Configure HTTPS connection to trust all hosts using a custom HostnameVerifier that always returns true for each host verified
TRUSTED_FACTORY - Static variable in class com.github.kevinsawicki.http.HttpRequest
 
TRUSTED_VERIFIER - Static variable in class com.github.kevinsawicki.http.HttpRequest
 

U

uncompress - Variable in class com.github.kevinsawicki.http.HttpRequest
 
uncompress(boolean) - Method in class com.github.kevinsawicki.http.HttpRequest
Set whether or not the response body should be automatically uncompressed when read from.
url - Variable in class com.github.kevinsawicki.http.HttpRequest
 
url() - Method in class com.github.kevinsawicki.http.HttpRequest
Get the URL of this request's connection
useCaches(boolean) - Method in class com.github.kevinsawicki.http.HttpRequest
Set value of URLConnection.setUseCaches(boolean)
useProxy(String, int) - Method in class com.github.kevinsawicki.http.HttpRequest
Configure an HTTP proxy on this connection.
userAgent(String) - Method in class com.github.kevinsawicki.http.HttpRequest
Set the 'User-Agent' header to given value

W

write(String) - Method in class com.github.kevinsawicki.http.HttpRequest.RequestOutputStream
Write string to stream
writePartHeader(String, String) - Method in class com.github.kevinsawicki.http.HttpRequest
Write part header
writePartHeader(String, String, String) - Method in class com.github.kevinsawicki.http.HttpRequest
Write part header
writer() - Method in class com.github.kevinsawicki.http.HttpRequest
Create writer to request output stream

_

_STANDARD_ALPHABET - Static variable in class com.github.kevinsawicki.http.HttpRequest.Base64
The 64 valid Base64 values.
A B C D E F G H I K L M N O P R S T U W _ 
All Classes All Packages