A B C E G H I L M Q R S T V 
All Classes All Packages

A

append(String) - Method in class io.wcm.caravan.io.http.request.CaravanHttpRequestBuilder
Appends a URL fragment.
asInputStream() - Method in interface io.wcm.caravan.io.http.response.Body
It is the responsibility of the caller to close the stream.
asReader() - Method in interface io.wcm.caravan.io.http.response.Body
It is the responsibility of the caller to close the stream.
asString() - Method in interface io.wcm.caravan.io.http.response.Body
Returns body as string and closes the stream.

B

body() - Method in class io.wcm.caravan.io.http.response.CaravanHttpResponse
if present, the response had a body
body(byte[]) - Method in class io.wcm.caravan.io.http.response.CaravanHttpResponseBuilder
 
body(byte[], Charset) - Method in class io.wcm.caravan.io.http.request.CaravanHttpRequestBuilder
Sets the HTTP body and charset.
body(InputStream, Integer) - Method in class io.wcm.caravan.io.http.response.CaravanHttpResponseBuilder
 
body(String) - Method in class io.wcm.caravan.io.http.request.CaravanHttpRequestBuilder
Sets a template for the HTTP body.
body(String, Charset) - Method in class io.wcm.caravan.io.http.response.CaravanHttpResponseBuilder
 
Body - Interface in io.wcm.caravan.io.http.response
Generic HTTP body.
build() - Method in class io.wcm.caravan.io.http.request.CaravanHttpRequestBuilder
Creates the request object with no values for the templates.
build() - Method in class io.wcm.caravan.io.http.response.CaravanHttpResponseBuilder
Builds the Caravan HTTP response
build(Map<String, Object>) - Method in class io.wcm.caravan.io.http.request.CaravanHttpRequestBuilder
Creates the request object with given values for the templates.

C

CaravanHttpClient - Interface in io.wcm.caravan.io.http
Resilient HTTP transport layer that can execute any request asynchronously and applying software load balancing and circuit breaking.
CaravanHttpRequest - Class in io.wcm.caravan.io.http.request
An immutable request to a HTTP server.
CaravanHttpRequestBuilder - Class in io.wcm.caravan.io.http.request
UriTemplate using HTTP request builder.
CaravanHttpRequestBuilder() - Constructor for class io.wcm.caravan.io.http.request.CaravanHttpRequestBuilder
Default constructor.
CaravanHttpRequestBuilder(String) - Constructor for class io.wcm.caravan.io.http.request.CaravanHttpRequestBuilder
 
CaravanHttpResponse - Class in io.wcm.caravan.io.http.response
An immutable response to an http invocation which only returns string content.
CaravanHttpResponseBuilder - Class in io.wcm.caravan.io.http.response
Builder for CaravanHttpResponse.
CaravanHttpResponseBuilder() - Constructor for class io.wcm.caravan.io.http.response.CaravanHttpResponseBuilder
 
CORRELATION_ID_HEADER_NAME - Static variable in class io.wcm.caravan.io.http.request.CaravanHttpRequest
Correlation ID Header name
correlationId(String) - Method in class io.wcm.caravan.io.http.request.CaravanHttpRequestBuilder
 

E

execute(CaravanHttpRequest) - Method in interface io.wcm.caravan.io.http.CaravanHttpClient
Execute request.
execute(CaravanHttpRequest, Observable<CaravanHttpResponse>) - Method in interface io.wcm.caravan.io.http.CaravanHttpClient
Execute request.

G

getBody() - Method in class io.wcm.caravan.io.http.request.CaravanHttpRequest
If present, this is the replayable body to send to the server.
getCacheControl() - Method in class io.wcm.caravan.io.http.request.CaravanHttpRequest
Collects all "Cache-Control" directives from the response headers into a single map.
getCacheControl() - Method in class io.wcm.caravan.io.http.response.CaravanHttpResponse
Collects all "Cache-Control" directives from the response headers into a single map.
getCharset() - Method in class io.wcm.caravan.io.http.request.CaravanHttpRequest
The character set with which the body is encoded, or null if unknown or not applicable.
getCorrelationId() - Method in class io.wcm.caravan.io.http.request.CaravanHttpRequest
 
getHeaders() - Method in class io.wcm.caravan.io.http.request.CaravanHttpRequest
Ordered list of headers that will be sent to the server.
getMethod() - Method in class io.wcm.caravan.io.http.request.CaravanHttpRequest
Method to invoke on the server.
getPerformanceMetrics() - Method in class io.wcm.caravan.io.http.request.CaravanHttpRequest
 
getRequest() - Method in exception io.wcm.caravan.io.http.IllegalResponseRuntimeException
 
getRequest() - Method in exception io.wcm.caravan.io.http.RequestFailedRuntimeException
 
getRequestUri() - Method in exception io.wcm.caravan.io.http.IllegalResponseRuntimeException
 
getResponseBody() - Method in exception io.wcm.caravan.io.http.IllegalResponseRuntimeException
 
getResponseStatusCode() - Method in exception io.wcm.caravan.io.http.IllegalResponseRuntimeException
 
getServiceId() - Method in class io.wcm.caravan.io.http.request.CaravanHttpRequest
 
getServiceName() - Method in class io.wcm.caravan.io.http.request.CaravanHttpRequest
Deprecated.
getUrl() - Method in class io.wcm.caravan.io.http.request.CaravanHttpRequest
Fully resolved url including query.

H

hasParameter(String) - Method in class io.wcm.caravan.io.http.request.CaravanHttpRequest
 
hasValidConfiguration(String) - Method in interface io.wcm.caravan.io.http.CaravanHttpClient
Checks if a valid configuration exists for the given service ID.
header(String, String) - Method in class io.wcm.caravan.io.http.request.CaravanHttpRequestBuilder
Adds a header to the HTTP request
header(String, String) - Method in class io.wcm.caravan.io.http.response.CaravanHttpResponseBuilder
 
header(String, Collection<String>) - Method in class io.wcm.caravan.io.http.request.CaravanHttpRequestBuilder
Sets and replaces a header for the HTTP request
header(String, Collection<String>) - Method in class io.wcm.caravan.io.http.response.CaravanHttpResponseBuilder
 
headers() - Method in class io.wcm.caravan.io.http.response.CaravanHttpResponse
 
headers(Multimap<String, String>) - Method in class io.wcm.caravan.io.http.response.CaravanHttpResponseBuilder
 

I

IllegalResponseRuntimeException - Exception in io.wcm.caravan.io.http
Exception is thrown when a resilient HTTP response was received, but rated illegal (e.g.
IllegalResponseRuntimeException(CaravanHttpRequest, String, int, String, String) - Constructor for exception io.wcm.caravan.io.http.IllegalResponseRuntimeException
 
io.wcm.caravan.io.http - package io.wcm.caravan.io.http
Resilient HTTP transport layer.
io.wcm.caravan.io.http.request - package io.wcm.caravan.io.http.request
Resilient HTTP transport layer request.
io.wcm.caravan.io.http.response - package io.wcm.caravan.io.http.response
Resilient HTTP transport layer response.
isRepeatable() - Method in interface io.wcm.caravan.io.http.response.Body
True if Body.asInputStream() and Body.asReader() can be called more than once.

L

length() - Method in interface io.wcm.caravan.io.http.response.Body
length in bytes, if known.

M

method(String) - Method in class io.wcm.caravan.io.http.request.CaravanHttpRequestBuilder
 

Q

query(String) - Method in class io.wcm.caravan.io.http.request.CaravanHttpRequestBuilder
Adds a query template expression.
query(String, Object) - Method in class io.wcm.caravan.io.http.request.CaravanHttpRequestBuilder
Adds a parameter with value to the request query

R

reason() - Method in class io.wcm.caravan.io.http.response.CaravanHttpResponse
 
reason(String) - Method in class io.wcm.caravan.io.http.response.CaravanHttpResponseBuilder
 
RequestFailedRuntimeException - Exception in io.wcm.caravan.io.http
Exception is thrown when a resilient HTTP request failed before a response was received.
RequestFailedRuntimeException(CaravanHttpRequest, String, Throwable) - Constructor for exception io.wcm.caravan.io.http.RequestFailedRuntimeException
 
RequestInstantiationRuntimeException - Exception in io.wcm.caravan.io.http
Thrown if there was an error by creating a request.
RequestInstantiationRuntimeException(String, Throwable) - Constructor for exception io.wcm.caravan.io.http.RequestInstantiationRuntimeException
 

S

status() - Method in class io.wcm.caravan.io.http.response.CaravanHttpResponse
status code.
status(int) - Method in class io.wcm.caravan.io.http.response.CaravanHttpResponseBuilder
 

T

toString() - Method in class io.wcm.caravan.io.http.request.CaravanHttpRequest
 
toString() - Method in class io.wcm.caravan.io.http.response.CaravanHttpResponse
 

V

value(String, Object) - Method in class io.wcm.caravan.io.http.request.CaravanHttpRequestBuilder
Adds a value for any UriTemplate expression in URL, header or body.
A B C E G H I L M Q R S T V 
All Classes All Packages