@API(status=STABLE) @FunctionalInterface public interface Route
RoutingTree
Modifier and Type | Interface and Description |
---|---|
static interface |
Route.Adapter<T,R>
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static <I> Route |
call(Class<I> type,
org.zalando.fauxpas.ThrowingConsumer<I,? extends Exception> consumer) |
static Route |
call(org.zalando.fauxpas.ThrowingConsumer<org.springframework.http.client.ClientHttpResponse,? extends Exception> consumer) |
static Route |
call(org.zalando.fauxpas.ThrowingRunnable<? extends Exception> runnable) |
static <I> Route |
call(com.google.common.reflect.TypeToken<I> type,
org.zalando.fauxpas.ThrowingConsumer<I,? extends Exception> consumer) |
void |
execute(org.springframework.http.client.ClientHttpResponse response,
MessageReader reader) |
static org.zalando.fauxpas.ThrowingFunction<org.springframework.http.client.ClientHttpResponse,org.springframework.http.HttpHeaders,IOException> |
headers()
Deprecated.
|
static <T> com.google.common.reflect.TypeToken<List<T>> |
listOf(Class<T> entityType)
Deprecated.
|
static <T> com.google.common.reflect.TypeToken<List<T>> |
listOf(com.google.common.reflect.TypeToken<T> entityType)
Deprecated.
|
static org.zalando.fauxpas.ThrowingFunction<org.springframework.http.client.ClientHttpResponse,URI,IOException> |
location()
Deprecated.
|
static org.zalando.fauxpas.ThrowingConsumer<org.springframework.http.client.ClientHttpResponse,IOException> |
noRoute()
Deprecated.
|
static org.zalando.fauxpas.ThrowingConsumer<org.springframework.http.client.ClientHttpResponse,RuntimeException> |
pass()
Deprecated.
|
static <X extends Exception> |
propagate()
Deprecated.
|
static <T> com.google.common.reflect.TypeToken<org.springframework.http.ResponseEntity<T>> |
responseEntityOf(Class<T> entityType)
Deprecated.
|
static <T> com.google.common.reflect.TypeToken<org.springframework.http.ResponseEntity<T>> |
responseEntityOf(com.google.common.reflect.TypeToken<T> entityType)
Deprecated.
|
static <T> Route.Adapter<org.springframework.http.client.ClientHttpResponse,T> |
to(org.zalando.fauxpas.ThrowingFunction<org.springframework.http.client.ClientHttpResponse,T,? extends Exception> function)
Deprecated.
|
void execute(org.springframework.http.client.ClientHttpResponse response, MessageReader reader) throws Exception
Exception
static Route call(org.zalando.fauxpas.ThrowingConsumer<org.springframework.http.client.ClientHttpResponse,? extends Exception> consumer)
static <I> Route call(Class<I> type, org.zalando.fauxpas.ThrowingConsumer<I,? extends Exception> consumer)
static <I> Route call(com.google.common.reflect.TypeToken<I> type, org.zalando.fauxpas.ThrowingConsumer<I,? extends Exception> consumer)
@API(status=DEPRECATED, since="2.6.0") @Deprecated static <T> com.google.common.reflect.TypeToken<List<T>> listOf(Class<T> entityType)
@API(status=DEPRECATED, since="2.6.0") @Deprecated static <T> com.google.common.reflect.TypeToken<List<T>> listOf(com.google.common.reflect.TypeToken<T> entityType)
@API(status=DEPRECATED, since="2.6.0") @Deprecated static <T> com.google.common.reflect.TypeToken<org.springframework.http.ResponseEntity<T>> responseEntityOf(Class<T> entityType)
@API(status=DEPRECATED, since="2.6.0") @Deprecated static <T> com.google.common.reflect.TypeToken<org.springframework.http.ResponseEntity<T>> responseEntityOf(com.google.common.reflect.TypeToken<T> entityType)
@API(status=DEPRECATED, since="2.6.0") @Deprecated static org.zalando.fauxpas.ThrowingConsumer<org.springframework.http.client.ClientHttpResponse,RuntimeException> pass()
@API(status=DEPRECATED, since="2.5.1") @Deprecated static org.zalando.fauxpas.ThrowingFunction<org.springframework.http.client.ClientHttpResponse,org.springframework.http.HttpHeaders,IOException> headers()
@API(status=DEPRECATED, since="2.5.1") @Deprecated static org.zalando.fauxpas.ThrowingFunction<org.springframework.http.client.ClientHttpResponse,URI,IOException> location()
@API(status=DEPRECATED, since="2.6.0") @Deprecated static org.zalando.fauxpas.ThrowingConsumer<org.springframework.http.client.ClientHttpResponse,IOException> noRoute()
@API(status=DEPRECATED, since="2.6.0") @Deprecated static <X extends Exception> org.zalando.fauxpas.ThrowingConsumer<X,IOException> propagate()
@API(status=DEPRECATED, since="2.5.1") @Deprecated static <T> Route.Adapter<org.springframework.http.client.ClientHttpResponse,T> to(org.zalando.fauxpas.ThrowingFunction<org.springframework.http.client.ClientHttpResponse,T,? extends Exception> function)
Copyright © 2015–2018 Zalando SE. All rights reserved.