Package com.qwazr.server
Class WelcomeService
java.lang.Object
com.qwazr.server.AbstractServiceImpl
com.qwazr.server.WelcomeService
- All Implemented Interfaces:
ServiceInterface
- Direct Known Subclasses:
WelcomeShutdownService
@RolesAllowed("welcome") @Path("/") public class WelcomeService extends AbstractServiceImpl
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERVICE_NAME
-
Constructor Summary
Constructors Constructor Description WelcomeService()
-
Method Summary
Modifier and Type Method Description WelcomeStatus
welcome(java.lang.Boolean properties, java.lang.Boolean env)
-
Field Details
-
SERVICE_NAME
public static final java.lang.String SERVICE_NAME- See Also:
- Constant Field Values
-
-
Constructor Details
-
WelcomeService
public WelcomeService()
-
-
Method Details
-
welcome
@GET @Produces("application/json; charset=UTF-8") public WelcomeStatus welcome(@QueryParam("properties") java.lang.Boolean properties, @QueryParam("env") java.lang.Boolean env) throws java.io.IOException- Throws:
java.io.IOException
-