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.CloseConnectionRequest, Service.CloseConnectionResponse, Service.CloseStatementRequest, Service.CloseStatementResponse, Service.ColumnsRequest, Service.ConnectionSyncRequest, Service.ConnectionSyncResponse, Service.CreateStatementRequest, Service.CreateStatementResponse, Service.ExecuteResponse, Service.Factory, Service.FetchRequest, Service.FetchResponse, Service.PrepareAndExecuteRequest, Service.PrepareRequest, Service.PrepareResponse, Service.Request, Service.Response, Service.ResultSetResponse, Service.SchemasRequest, Service.TablesRequest, Service.TableTypesRequestMAPPER| 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.