Class AbstractNamedMvcEndpoint
- java.lang.Object
- org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
- org.springframework.boot.actuate.endpoint.mvc.AbstractMvcEndpoint
- org.springframework.boot.actuate.endpoint.mvc.AbstractNamedMvcEndpoint
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,MvcEndpoint
,NamedMvcEndpoint
,org.springframework.context.EnvironmentAware
,org.springframework.web.servlet.config.annotation.WebMvcConfigurer
- Direct Known Subclasses:
AuditEventsMvcEndpoint
,DocsMvcEndpoint
,HalJsonMvcEndpoint
,HeapdumpMvcEndpoint
,JolokiaMvcEndpoint
,LogFileMvcEndpoint
public abstract class AbstractNamedMvcEndpoint extends AbstractMvcEndpoint implements NamedMvcEndpoint
Abstract base class forNamedMvcEndpoint
implementations without a backingEndpoint
.- Since:
- 1.5.0
Field Summary
Fields inherited from interface org.springframework.boot.actuate.endpoint.mvc.MvcEndpoint
DISABLED_RESPONSE
Constructor Summary
Constructors Constructor Description AbstractNamedMvcEndpoint(String name, String path, boolean sensitive)
AbstractNamedMvcEndpoint(String name, String path, boolean sensitive, boolean enabled)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Return the logical name of the endpoint.Methods inherited from class org.springframework.boot.actuate.endpoint.mvc.AbstractMvcEndpoint
getEndpointType, getEnvironment, getPath, isEnabled, isSensitive, setEnabled, setEnvironment, setPath, setSensitive
Methods inherited from class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.boot.actuate.endpoint.mvc.MvcEndpoint
getEndpointType, getPath, isSensitive
Constructor Detail
AbstractNamedMvcEndpoint
public AbstractNamedMvcEndpoint(String name, String path, boolean sensitive)
AbstractNamedMvcEndpoint
public AbstractNamedMvcEndpoint(String name, String path, boolean sensitive, boolean enabled)
Method Detail
getName
public String getName()
Description copied from interface:NamedMvcEndpoint
Return the logical name of the endpoint. Names should be non-null, non-empty, alpha-numeric values.- Specified by:
getName
in interfaceNamedMvcEndpoint
- Returns:
- the logical name of the endpoint