Class RemoteService

All Implemented Interfaces:
Service

public class RemoteService extends JsonService
Implementation of Service that translates requests into JSON and sends them to a remote server, usually an HTTP server.
  • Constructor Details

  • Method Details

    • apply

      public String apply(String request)
      Description copied from class: JsonService
      Derived class should implement this method to transport requests and responses to and from the peer service.
      Specified by:
      apply in class JsonService