code: public WebEndpointResponse<Health> mapDetails(Supplier<Health> health,
  			SecurityContext securityContext) {
  		if (canSeeDetails(securityContext, this.showDetails)) {
  			Health healthDetails = health.get();
  			if (healthDetails != null) {
  				return createWebEndpointResponse(healthDetails);
  			}
  		}
  		return new WebEndpointResponse<>(WebEndpointResponse.STATUS_NOT_FOUND);
  	}
docs: Maps the given {@code health} details to a {@link WebEndpointResponse}, honouring
  the mapper's default {@link ShowDetails} using the given {@code securityContext}.
  <p>
  If the current user does not have the right to see the details, the
  {@link Supplier} is not invoked and a 404 response is returned instead.
  @param health the provider of health details, invoked if the current user has the
  right to see them
  @param securityContext the security context
  @return the mapped response