@RestController
public final class HealthCheckController
extends net.avcompris.commons3.web.AbstractController
net.avcompris.commons3.web.AbstractController.AuthenticatedAction<T>, net.avcompris.commons3.web.AbstractController.AuthenticatedServletAction<T>, net.avcompris.commons3.web.AbstractController.UnauthenticatedAction<T>, net.avcompris.commons3.web.AbstractController.UnauthenticatedAnonymousAction<T>| Constructor and Description |
|---|
HealthCheckController(net.avcompris.commons3.core.CorrelationService correlationService,
net.avcompris.commons3.client.SessionPropagator sessionPropagator,
net.avcompris.commons3.utils.Clock clock) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<net.avcompris.commons3.web.HealthCheck> |
getHealthCheck(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected boolean |
isHttpOnly() |
protected boolean |
isSecure() |
getUserSessionId, handleServiceException, headers, setUserSessionCookie, wrapAuthenticated, wrapAuthenticatedOrNot, wrapAuthenticatedServletAction, wrapNonAuthenticated, wrapNonAuthenticatedWithoutCorrelationId, wrapWithoutCorrelationId@Autowired
public HealthCheckController(net.avcompris.commons3.core.CorrelationService correlationService,
net.avcompris.commons3.client.SessionPropagator sessionPropagator,
net.avcompris.commons3.utils.Clock clock)
@RequestMapping(value="/healthcheck",
method=GET)
public org.springframework.http.ResponseEntity<net.avcompris.commons3.web.HealthCheck> getHealthCheck(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws net.avcompris.commons3.api.exception.ServiceException
net.avcompris.commons3.api.exception.ServiceExceptionprotected final boolean isSecure()
isSecure in class net.avcompris.commons3.web.AbstractControllerprotected final boolean isHttpOnly()
isHttpOnly in class net.avcompris.commons3.web.AbstractControllerCopyright © 2020 Avantage Compris. All rights reserved.