Class ApiHealthCheck


  • @Path("/health")
    @Consumes("application/json")
    @Produces("application/json")
    public class ApiHealthCheck
    extends ConfigBaseResource
    • Field Summary

      • Fields inherited from class io.jans.configapi.core.rest.BaseResource

        FIELD_VALUE_SEPARATOR, MISSING_ATTRIBUTE_CODE, MISSING_ATTRIBUTE_MESSAGE, TOKEN_DELIMITER
    • Constructor Summary

      Constructors 
      Constructor Description
      ApiHealthCheck()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      jakarta.ws.rs.core.Response getHealthResponse()  
      jakarta.ws.rs.core.Response getLivenessResponse()  
      jakarta.ws.rs.core.Response getReadinessResponse()  
      jakarta.ws.rs.core.Response getServerStat()  
      • Methods inherited from class io.jans.configapi.core.rest.BaseResource

        checkNotEmpty, checkNotEmpty, checkNotNull, checkNotNull, checkNotNull, checkResourceNotNull, createSearchRequest, findRootError, getBadRequestException, getBadRequestException, getBadRequestException, getHttpHeaders, getHttpRequest, getInternalServerException, getMissingAttributeError, getNotAcceptableException, getNotFoundError, getUriInfo, throwBadRequestException, throwBadRequestException, throwBadRequestException, throwInternalServerException, throwInternalServerException, throwMissingAttributeError
    • Constructor Detail

      • ApiHealthCheck

        public ApiHealthCheck()
    • Method Detail

      • getHealthResponse

        @GET
        public jakarta.ws.rs.core.Response getHealthResponse()
      • getLivenessResponse

        @GET
        @Path("/live")
        public jakarta.ws.rs.core.Response getLivenessResponse()
      • getReadinessResponse

        @GET
        @Path("/ready")
        public jakarta.ws.rs.core.Response getReadinessResponse()
      • getServerStat

        @GET
        @Path("/server-stat")
        public jakarta.ws.rs.core.Response getServerStat()