Skip navigation links
B C D E F G H I J M O R S T U W X 

B

BinaryRequestEntity - Class in org.dmfs.httpessentials.entities
A basic HttpRequestEntity with binary data.
BinaryRequestEntity(MediaType, Single<byte[]>) - Constructor for class org.dmfs.httpessentials.entities.BinaryRequestEntity
 

C

contentLength() - Method in class org.dmfs.httpessentials.entities.BinaryRequestEntity
 
contentLength() - Method in class org.dmfs.httpessentials.entities.DelegatingRequestEntity
 
contentLength() - Method in class org.dmfs.httpessentials.entities.EmptyHttpRequestEntity
 
contentType() - Method in class org.dmfs.httpessentials.entities.BinaryRequestEntity
 
contentType() - Method in class org.dmfs.httpessentials.entities.DelegatingRequestEntity
 
contentType() - Method in class org.dmfs.httpessentials.entities.EmptyHttpRequestEntity
 

D

decorated(T) - Method in interface org.dmfs.httpessentials.decoration.Decoration
Decorates the given original object.
Decoration<T> - Interface in org.dmfs.httpessentials.decoration
General interface for a 'decoration operation' that is taking on object and returning a wrapped or modified version of it.
DEFAULT_CHARSET - Static variable in class org.dmfs.httpessentials.entities.XWwwFormUrlEncodedEntity
 
DelegatingRequestEntity - Class in org.dmfs.httpessentials.entities
An abstract HttpRequestEntity which delegates all calls to another HttpRequestEntity.
DelegatingRequestEntity(HttpRequestEntity) - Constructor for class org.dmfs.httpessentials.entities.DelegatingRequestEntity
 

E

EmptyHttpRequestEntity - Class in org.dmfs.httpessentials.entities
An empty HttpRequestEntity.
EmptyHttpRequestEntity() - Constructor for class org.dmfs.httpessentials.entities.EmptyHttpRequestEntity
 
EntityDecorated<T> - Class in org.dmfs.httpessentials.decoration
HttpRequest decorator that only modifies the HttpRequestEntity using the given Decoration.
EntityDecorated(HttpRequest<T>, Decoration<HttpRequestEntity>) - Constructor for class org.dmfs.httpessentials.decoration.EntityDecorated
 

F

FailResponseHandler<T> - Class in org.dmfs.httpessentials.responsehandlers
An default response handler that doesn't handle the response but throws the most appropriate Exception, based on the response status code.
FailResponseHandler() - Constructor for class org.dmfs.httpessentials.responsehandlers.FailResponseHandler
 

G

getInstance() - Static method in class org.dmfs.httpessentials.responsehandlers.FailResponseHandler
 

H

handleResponse(HttpResponse) - Method in class org.dmfs.httpessentials.responsehandlers.FailResponseHandler
 
handleResponse(HttpResponse) - Method in class org.dmfs.httpessentials.responsehandlers.StringResponseHandler
 
handleResponse(HttpResponse) - Method in class org.dmfs.httpessentials.responsehandlers.TrivialResponseHandler
 
HeaderDecorated<T> - Class in org.dmfs.httpessentials.decoration
HttpRequest decorator that changes only the Headers using the given Decoration.
HeaderDecorated(HttpRequest<T>, Decoration<Headers>) - Constructor for class org.dmfs.httpessentials.decoration.HeaderDecorated
 
headers() - Method in class org.dmfs.httpessentials.decoration.EntityDecorated
 
headers() - Method in class org.dmfs.httpessentials.decoration.HeaderDecorated
 
headers() - Method in class org.dmfs.httpessentials.decoration.ResponseDecorated
 

I

INSTANCE - Static variable in class org.dmfs.httpessentials.entities.EmptyHttpRequestEntity
 

J

JsonRequestEntity - Class in org.dmfs.httpessentials.entities
An HttpRequestEntity for JSON data.
JsonRequestEntity(JSONArray) - Constructor for class org.dmfs.httpessentials.entities.JsonRequestEntity
 
JsonRequestEntity(JSONObject) - Constructor for class org.dmfs.httpessentials.entities.JsonRequestEntity
 

M

method() - Method in class org.dmfs.httpessentials.decoration.EntityDecorated
 
method() - Method in class org.dmfs.httpessentials.decoration.HeaderDecorated
 
method() - Method in class org.dmfs.httpessentials.decoration.ResponseDecorated
 

O

org.dmfs.httpessentials.decoration - package org.dmfs.httpessentials.decoration
 
org.dmfs.httpessentials.entities - package org.dmfs.httpessentials.entities
 
org.dmfs.httpessentials.responsehandlers - package org.dmfs.httpessentials.responsehandlers
 

R

requestEntity() - Method in class org.dmfs.httpessentials.decoration.EntityDecorated
 
requestEntity() - Method in class org.dmfs.httpessentials.decoration.HeaderDecorated
 
requestEntity() - Method in class org.dmfs.httpessentials.decoration.ResponseDecorated
 
ResponseDecorated<T> - Class in org.dmfs.httpessentials.decoration
A HttpRequest decorator that decorates the HttpResponse using the given Decoration.
ResponseDecorated(HttpRequest<T>, Decoration<HttpResponse>) - Constructor for class org.dmfs.httpessentials.decoration.ResponseDecorated
 
responseHandler(HttpResponse) - Method in class org.dmfs.httpessentials.decoration.EntityDecorated
 
responseHandler(HttpResponse) - Method in class org.dmfs.httpessentials.decoration.HeaderDecorated
 
responseHandler(HttpResponse) - Method in class org.dmfs.httpessentials.decoration.ResponseDecorated
 

S

StringResponseHandler - Class in org.dmfs.httpessentials.responsehandlers
A simple HttpResponseHandler that returns the response body as a String using the charset given in the content-type if there is any or falling back to a default charset otherwise.
StringResponseHandler() - Constructor for class org.dmfs.httpessentials.responsehandlers.StringResponseHandler
A StringResponseHandler that falls back to "UTF-8" if there is no charset given in the response.
StringResponseHandler(String) - Constructor for class org.dmfs.httpessentials.responsehandlers.StringResponseHandler
A StringResponseHandler that falls back to the given charset if there is no charset given in the response.
StringResponseHandler(String, MediaType) - Constructor for class org.dmfs.httpessentials.responsehandlers.StringResponseHandler
A StringResponseHandler that falls back to the given charset and MediaType if there is no charset given in the response.

T

TextRequestEntity - Class in org.dmfs.httpessentials.entities
An HttpRequestEntity with character data.
TextRequestEntity(MediaType, Single<CharSequence>) - Constructor for class org.dmfs.httpessentials.entities.TextRequestEntity
 
TrivialResponseHandler<T> - Class in org.dmfs.httpessentials.responsehandlers
A simple HttpResponseHandler that always return the same response.
TrivialResponseHandler(T) - Constructor for class org.dmfs.httpessentials.responsehandlers.TrivialResponseHandler
Creates a TrivialResponseHandler that returns the given result.

U

UTF8_CHARSET - Static variable in class org.dmfs.httpessentials.responsehandlers.StringResponseHandler
 

W

writeContent(OutputStream) - Method in class org.dmfs.httpessentials.entities.BinaryRequestEntity
 
writeContent(OutputStream) - Method in class org.dmfs.httpessentials.entities.DelegatingRequestEntity
 
writeContent(OutputStream) - Method in class org.dmfs.httpessentials.entities.EmptyHttpRequestEntity
 

X

XWwwFormUrlEncodedEntity - Class in org.dmfs.httpessentials.entities
An HttpRequestEntity that encodes key-value pairs using application/x-www-form-urlencoded encoding.
XWwwFormUrlEncodedEntity(Iterable<Pair<CharSequence, CharSequence>>) - Constructor for class org.dmfs.httpessentials.entities.XWwwFormUrlEncodedEntity
 
XWwwFormUrlEncodedEntity(Iterable<Pair<CharSequence, CharSequence>>, String) - Constructor for class org.dmfs.httpessentials.entities.XWwwFormUrlEncodedEntity
 
XWwwFormUrlEncodedEntity(ParameterList) - Constructor for class org.dmfs.httpessentials.entities.XWwwFormUrlEncodedEntity
 
XWwwFormUrlEncodedEntity(ParameterList, String) - Constructor for class org.dmfs.httpessentials.entities.XWwwFormUrlEncodedEntity
 
B C D E F G H I J M O R S T U W X 
Skip navigation links