@Extension(value="rest") public class RestClientTransport extends AbstractProxyClientTransport
currentRequests, localAddress, remoteAddresstransportConfig| 构造器和说明 |
|---|
RestClientTransport(ClientTransportConfig transportConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Object |
buildProxy(ClientTransportConfig transportConfig)
构造远程调用代理
|
protected Method |
getMethod(SofaRequest request)
构造远程调用代理
|
afterSend, asyncSend, beforeSend, connect, convertToRpcException, currentRequests, destroy, disconnect, doInvokeSync, getChannel, handleRpcRequest, isAvailable, localAddress, oneWaySend, receiveRpcResponse, remoteAddress, setChannel, syncSendgetConfigpublic RestClientTransport(ClientTransportConfig transportConfig)
protected Object buildProxy(ClientTransportConfig transportConfig) throws SofaRpcException
AbstractProxyClientTransportbuildProxy 在类中 AbstractProxyClientTransporttransportConfig - the transport configSofaRpcException - the exceptionprotected Method getMethod(SofaRequest request) throws SofaRpcException
AbstractProxyClientTransportgetMethod 在类中 AbstractProxyClientTransportrequest - 请求dioxideSofaRpcException - the exceptionCopyright © 2008–2018 The Ant Financial. All rights reserved.