@Component public class EchoClient extends Object implements RpcClient<EchoRequest,EchoResponse>, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
EchoClient() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
CompletableFuture<EchoResponse> |
execute(EchoRequest request) |
public CompletableFuture<EchoResponse> execute(EchoRequest request)
execute
in interface RpcClient<EchoRequest,EchoResponse>
Copyright © 2018. All rights reserved.