Package com.saperion.rs.common
Class InfoResource
- java.lang.Object
-
- com.saperion.rs.RestService
-
- com.saperion.rs.common.InfoResource
-
@Path("/check/info") public class InfoResource extends RestService
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.logging.Logger
LOGGER
-
Constructor Summary
Constructors Constructor Description InfoResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
get(boolean reload, javax.ws.rs.core.UriInfo info, javax.servlet.http.HttpServletRequest request)
javax.ws.rs.core.Response
head(javax.ws.rs.core.UriInfo info, javax.servlet.http.HttpServletRequest request)
-
Methods inherited from class com.saperion.rs.RestService
checkConnection, getConnection
-
-
-
-
Method Detail
-
head
@HEAD public javax.ws.rs.core.Response head(@Context javax.ws.rs.core.UriInfo info, @Context javax.servlet.http.HttpServletRequest request) throws java.io.IOException
- Throws:
java.io.IOException
-
get
@GET @Produces("text/html") public javax.ws.rs.core.Response get(@QueryParam("reload") boolean reload, @Context javax.ws.rs.core.UriInfo info, @Context javax.servlet.http.HttpServletRequest request) throws java.io.IOException
- Throws:
java.io.IOException
-
-