类 AuditEventsMvcEndpoint
- java.lang.Object
- org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
- org.springframework.boot.actuate.endpoint.mvc.AbstractMvcEndpoint
- org.springframework.boot.actuate.endpoint.mvc.AbstractNamedMvcEndpoint
- org.springframework.boot.actuate.endpoint.mvc.AuditEventsMvcEndpoint
- 所有已实现的接口:
org.springframework.beans.factory.Aware
,MvcEndpoint
,NamedMvcEndpoint
,org.springframework.context.EnvironmentAware
,org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@ConfigurationProperties(prefix="endpoints.auditevents") public class AuditEventsMvcEndpoint extends AbstractNamedMvcEndpoint
MvcEndpoint
to exposeAuditEvent
s.- 从以下版本开始:
- 1.5.0
字段概要
从接口继承的字段 org.springframework.boot.actuate.endpoint.mvc.MvcEndpoint
DISABLED_RESPONSE
构造器概要
构造器 构造器 说明 AuditEventsMvcEndpoint(AuditEventRepository auditEventRepository)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 org.springframework.http.ResponseEntity<?>
findByPrincipalAndAfterAndType(String principal, Date after, String type)
从类继承的方法 org.springframework.boot.actuate.endpoint.mvc.AbstractNamedMvcEndpoint
getName
从类继承的方法 org.springframework.boot.actuate.endpoint.mvc.AbstractMvcEndpoint
getEndpointType, getEnvironment, getPath, isEnabled, isSensitive, setEnabled, setEnvironment, setPath, setSensitive
从类继承的方法 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
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 org.springframework.boot.actuate.endpoint.mvc.MvcEndpoint
getEndpointType, getPath, isSensitive
构造器详细资料
AuditEventsMvcEndpoint
public AuditEventsMvcEndpoint(AuditEventRepository auditEventRepository)
方法详细资料
findByPrincipalAndAfterAndType
@ActuatorGetMapping @ResponseBody public org.springframework.http.ResponseEntity<?> findByPrincipalAndAfterAndType(@RequestParam(required=false) String principal, @RequestParam(required=false) @DateTimeFormat(pattern="yyyy-MM-dd\'T\'HH:mm:ssZ") Date after, @RequestParam(required=false) String type)