public class FutureTaskEndpointCallHandlerAdapter<T,O>
extends java.lang.Object
implements com.github.ljtfreitas.restify.http.client.call.handler.EndpointCallHandlerAdapter<java.util.concurrent.FutureTask<T>,T,O>
| Constructor and Description |
|---|
FutureTaskEndpointCallHandlerAdapter(java.util.concurrent.ExecutorService executorService) |
| Modifier and Type | Method and Description |
|---|---|
com.github.ljtfreitas.restify.http.client.call.handler.EndpointCallHandler<java.util.concurrent.FutureTask<T>,O> |
adapt(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 FutureTaskEndpointCallHandlerAdapter(java.util.concurrent.ExecutorService executorService)
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.EndpointCallHandler<java.util.concurrent.FutureTask<T>,O> adapt(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.