Package com.linecorp.armeria.client
Interface FutureResponseAs<T>
- All Superinterfaces:
ResponseAs<HttpResponse,
CompletableFuture<T>>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@UnstableApi
@FunctionalInterface
public interface FutureResponseAs<T>
extends ResponseAs<HttpResponse,CompletableFuture<T>>
Asynchronously transforms an
HttpResponse
into a T
type object.-
Method Summary
Modifier and TypeMethodDescriptiondefault <U> FutureResponseAs<U>
Transforms theT
type object into another by applying theFunction
.Methods inherited from interface com.linecorp.armeria.client.ResponseAs
andThen, as, requiresAggregation
-
Method Details
-
map
Transforms theT
type object into another by applying theFunction
.
-