@ConfigurationProperties(prefix="endpoints.auditevents") public class AuditEventsMvcEndpoint extends AbstractNamedMvcEndpoint
MvcEndpoint to expose AuditEvents.DISABLED_RESPONSE| Constructor and Description |
|---|
AuditEventsMvcEndpoint(AuditEventRepository auditEventRepository) |
| Modifier and Type | Method and Description |
|---|---|
ResponseEntity<?> |
findByPrincipalAndAfterAndType(String principal,
Date after,
String type) |
getNamegetEndpointType, getEnvironment, getPath, isEnabled, isSensitive, setEnabled, setEnvironment, setPath, setSensitiveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEndpointType, getPath, isSensitiveaddArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorpublic AuditEventsMvcEndpoint(AuditEventRepository auditEventRepository)
@ActuatorGetMapping @ResponseBody public ResponseEntity<?> findByPrincipalAndAfterAndType(@RequestParam(required=false) String principal, @RequestParam @DateTimeFormat(pattern="yyyy-MM-dd\'T\'HH:mm:ssZ") Date after, @RequestParam(required=false) String type)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.