Class SimplePingService


  • public class SimplePingService
    extends Object
    Provides a simple implemention of a ping handler.
    • Constructor Detail

      • SimplePingService

        public SimplePingService()
    • Method Detail

      • handlePing

        public String handlePing​(HttpServletRequest request,
                                 Form form)
        Return a response to the ping request. Forms can use this to determine if they are connected to TM.
        Parameters:
        request - the AJAX form request
        form - the form which made the request
        Returns:
        the ping reponse (a JSON string)