| Package | Description |
|---|---|
| com.github.davidmoten.aws.lw.client | |
| com.github.davidmoten.aws.lw.client.internal |
| Modifier and Type | Method and Description |
|---|---|
Response |
HttpClient.request(URL endpointUrl,
String httpMethod,
Map<String,String> headers,
byte[] requestBody,
int connectTimeoutMs,
int readTimeoutMs) |
Response |
Request.response()
Opens a connection and makes the request.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<? extends RuntimeException> |
ExceptionFactory.create(Response response)
Returns a
RuntimeException (or subclass) if the response error
condition is met (usually !response.isOk(). |
| Modifier and Type | Method and Description |
|---|---|
Client.Builder4 |
Client.Builder4.exception(Predicate<? super Response> predicate,
Function<? super Response,? extends RuntimeException> factory) |
Client.Builder4 |
Client.Builder4.exception(Predicate<? super Response> predicate,
Function<? super Response,? extends RuntimeException> factory) |
| Modifier and Type | Method and Description |
|---|---|
Response |
HttpClientDefault.request(URL endpointUrl,
String httpMethod,
Map<String,String> headers,
byte[] requestBody,
int connectTimeoutMs,
int readTimeoutMs) |
| Modifier and Type | Method and Description |
|---|---|
Optional<? extends RuntimeException> |
ExceptionFactoryExtended.create(Response response) |
Optional<? extends RuntimeException> |
ExceptionFactoryDefault.create(Response r) |
| Constructor and Description |
|---|
ExceptionFactoryExtended(ExceptionFactory factory,
Predicate<? super Response> predicate,
Function<? super Response,? extends RuntimeException> function) |
ExceptionFactoryExtended(ExceptionFactory factory,
Predicate<? super Response> predicate,
Function<? super Response,? extends RuntimeException> function) |
Copyright © 2021. All rights reserved.