Package | Description |
---|---|
com.github.davidmoten.aws.lw.client | |
com.github.davidmoten.aws.lw.client.internal |
Modifier and Type | Method and Description |
---|---|
Response |
Request.response()
Opens a connection and makes the request.
|
Response |
Request.responseExpectStatusCode(int expectedStatusCode)
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 {@code ! |
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 |
---|---|
Optional<? extends RuntimeException> |
ExceptionFactoryDefault.create(Response r) |
Optional<? extends RuntimeException> |
ExceptionFactoryExtended.create(Response response) |
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–2024. All rights reserved.