public class CompletionStageEndpointCallHandlerAdapter<T,O>
extends java.lang.Object
implements com.github.ljtfreitas.restify.http.client.call.handler.async.AsyncEndpointCallHandlerAdapter<java.util.concurrent.CompletionStage<T>,T,O>
| Constructor and Description |
|---|
CompletionStageEndpointCallHandlerAdapter(java.util.concurrent.Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
com.github.ljtfreitas.restify.http.client.call.handler.async.AsyncEndpointCallHandler<java.util.concurrent.CompletionStage<T>,O> |
adaptAsync(com.github.ljtfreitas.restify.http.contract.metadata.EndpointMethod endpointMethod,
com.github.ljtfreitas.restify.http.client.call.handler.EndpointCallHandler<T,O> handler) |
com.github.ljtfreitas.restify.reflection.JavaType |
returnType(com.github.ljtfreitas.restify.http.contract.metadata.EndpointMethod endpointMethod) |
boolean |
supports(com.github.ljtfreitas.restify.http.contract.metadata.EndpointMethod endpointMethod) |
public CompletionStageEndpointCallHandlerAdapter(java.util.concurrent.Executor executor)
public boolean supports(com.github.ljtfreitas.restify.http.contract.metadata.EndpointMethod endpointMethod)
supports in interface com.github.ljtfreitas.restify.http.client.call.handler.EndpointCallHandlerProviderpublic com.github.ljtfreitas.restify.reflection.JavaType returnType(com.github.ljtfreitas.restify.http.contract.metadata.EndpointMethod endpointMethod)
public com.github.ljtfreitas.restify.http.client.call.handler.async.AsyncEndpointCallHandler<java.util.concurrent.CompletionStage<T>,O> adaptAsync(com.github.ljtfreitas.restify.http.contract.metadata.EndpointMethod endpointMethod, com.github.ljtfreitas.restify.http.client.call.handler.EndpointCallHandler<T,O> handler)
Copyright © 2019. All Rights Reserved.