@ConfigurationProperties(prefix="endpoints.auditevents") public class AuditEventsMvcEndpoint extends AbstractNamedMvcEndpoint
MvcEndpoint
to expose AuditEvent
s.DISABLED_RESPONSE
Constructor and Description |
---|
AuditEventsMvcEndpoint(AuditEventRepository auditEventRepository) |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<?> |
findByPrincipalAndAfterAndType(String principal,
Date after,
String type) |
getName
getEndpointType, getEnvironment, getPath, isEnabled, isSensitive, setEnabled, setEnvironment, setPath, setSensitive
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpointType, getPath, isSensitive
public AuditEventsMvcEndpoint(AuditEventRepository auditEventRepository)
@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)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.