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.
    • Method Detail

      • apply

        public java.lang.String apply​(java.lang.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