com.contentgrid.spring.boot.autoconfigure.actuator.ContentGridExposedActuatorEndpoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of contentgrid-spring-boot-autoconfigure Show documentation
Show all versions of contentgrid-spring-boot-autoconfigure Show documentation
Module with Spring Boot AutoConfiguration for ContentGrid applications
The newest version!
package com.contentgrid.spring.boot.autoconfigure.actuator;
import lombok.RequiredArgsConstructor;
import lombok.Value;
import org.springframework.boot.actuate.autoconfigure.security.servlet.EndpointRequest;
import org.springframework.security.web.util.matcher.RequestMatcher;
@Value
@RequiredArgsConstructor
public class ContentGridExposedActuatorEndpoint {
Class endpoint;
public RequestMatcher toRequestMatcher() {
return EndpointRequest.to(endpoint);
}
}