Class TestService
java.lang.Object
org.deltava.service.WebService
org.deltava.service.push.TestService
A Web Service to test browser push notifications.
- Since:
- 10.0
- Version:
- 10.0
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
execute
(ServiceContext ctx) Executes the Web Service.final boolean
isSecure()
Returns whether this web service requires authentication.
-
Constructor Details
-
TestService
public TestService()
-
-
Method Details
-
execute
Executes the Web Service.- Specified by:
execute
in classWebService
- Parameters:
ctx
- the Web Service context- Returns:
- the HTTP status code
- Throws:
ServiceException
- if an error occurs
-
isSecure
public final boolean isSecure()Description copied from class:WebService
Returns whether this web service requires authentication.- Overrides:
isSecure
in classWebService
- Returns:
- TRUE if authentication is required, otherwise FALSE
-