public class RemoteService extends JsonService
Service
that translates requests into JSON and sends them to a remote server,
usually an HTTP server.Service.CatalogsRequest, Service.CreateStatementRequest, Service.CreateStatementResponse, Service.Factory, Service.PrepareAndExecuteRequest, Service.PrepareRequest, Service.PrepareResponse, Service.Request, Service.Response, Service.ResultSetResponse, Service.SchemasRequestMAPPER| Constructor and Description |
|---|
RemoteService(URL url) |
| Modifier and Type | Method and Description |
|---|---|
String |
apply(String request)
Derived class should implement this method to transport requests and
responses to and from the peer service.
|
public RemoteService(URL url)
public String apply(String request)
JsonServiceapply in class JsonServiceCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.