Package com.avoka.fc.core.service.form
Class SimplePingService
- java.lang.Object
-
- com.avoka.fc.core.service.form.SimplePingService
-
public class SimplePingService extends Object
Provides a simple implemention of a ping handler.
-
-
Constructor Summary
Constructors Constructor Description SimplePingService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
handlePing(HttpServletRequest request, Form form)
Return a response to the ping request.
-
-
-
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 requestform
- the form which made the request- Returns:
- the ping reponse (a JSON string)
-
-