Class RequestResponseLoggingConfiguration
java.lang.Object
com.foreach.across.modules.logging.config.RequestResponseLoggingConfiguration
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.EnvironmentAware
@Configuration
@ConditionalOnProperty("logging.request-response.enabled")
public class RequestResponseLoggingConfiguration
extends Object
implements org.springframework.context.EnvironmentAware
- Author:
- Andy Somers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.web.servlet.FilterRegistrationBean
requestResponseFilterRegistrationBean
(RequestResponseLoggingFilter requestResponseLoggingFilter) void
setEnvironment
(org.springframework.core.env.Environment environment)
-
Constructor Details
-
RequestResponseLoggingConfiguration
public RequestResponseLoggingConfiguration()
-
-
Method Details
-
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment) - Specified by:
setEnvironment
in interfaceorg.springframework.context.EnvironmentAware
-
requestResponseLogConfiguration
-
requestResponseLogRegistry
-
requestResponseLogController
-
requestResponseLoggingFilter
-
requestResponseFilterRegistrationBean
@Bean public org.springframework.boot.web.servlet.FilterRegistrationBean requestResponseFilterRegistrationBean(RequestResponseLoggingFilter requestResponseLoggingFilter)
-