public class URLConnectionRestClient extends Object implements RestClient
| 构造器和说明 |
|---|
URLConnectionRestClient(HttpClientConfig clientConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close()
close the channel.
|
void |
close(int timeout)
Graceful close the channel.
|
boolean |
isClosed()
is closed.
|
CompletableFuture<RestResult> |
send(RequestTemplate requestTemplate)
send message.
|
public URLConnectionRestClient(HttpClientConfig clientConfig)
public CompletableFuture<RestResult> send(RequestTemplate requestTemplate)
RestClientsend 在接口中 RestClientpublic void close()
RestClientclose 在接口中 RestClientpublic void close(int timeout)
RestClientclose 在接口中 RestClientpublic boolean isClosed()
RestClientisClosed 在接口中 RestClientCopyright © 2024 The Apache Software Foundation. All rights reserved.