use of io.servicecomb.transport.rest.client.RestTransportClient in project java-chassis by ServiceComb.
the class VertxRestTransport method send.
@Override
public void send(Invocation invocation, AsyncResponse asyncResp) throws Exception {
URIEndpointObject endpoint = (URIEndpointObject) invocation.getEndpoint().getAddress();
RestTransportClient client = RestTransportClientManager.INSTANCE.getRestTransportClient(endpoint.isSslEnabled());
client.send(invocation, asyncResp);
}
use of io.servicecomb.transport.rest.client.RestTransportClient in project java-chassis by ServiceComb.
the class ServletRestTransport method send.
@Override
public void send(Invocation invocation, AsyncResponse asyncResp) throws Exception {
URIEndpointObject endpoint = (URIEndpointObject) invocation.getEndpoint().getAddress();
RestTransportClient client = RestTransportClientManager.INSTANCE.getRestTransportClient(endpoint.isSslEnabled());
client.send(invocation, asyncResp);
}
Aggregations