List of usage examples for org.springframework.boot.actuate.autoconfigure.cloudfoundry SecurityResponse getMessage
public String getMessage()
From source file:org.springframework.boot.actuate.autoconfigure.cloudfoundry.servlet.CloudFoundryWebEndpointServletHandlerMapping.java
private void sendFailureResponse(HttpServletResponse response, SecurityResponse securityResponse) { try {/*from w w w . jav a 2s . c o m*/ response.sendError(securityResponse.getStatus().value(), securityResponse.getMessage()); } catch (Exception ex) { logger.debug("Failed to send error response", ex); } }