Class OperatonBpmWebappAutoConfiguration
java.lang.Object
org.operaton.bpm.spring.boot.starter.webapp.OperatonBpmWebappAutoConfiguration
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@AutoConfiguration
@ConditionalOnProperty(prefix="operaton.bpm.webapp",
name="enabled",
matchIfMissing=true)
@ConditionalOnBean(OperatonBpmProperties.class)
@ConditionalOnWebApplication
@AutoConfigureAfter(OperatonBpmAutoConfiguration.class)
public class OperatonBpmWebappAutoConfiguration
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Constructor Summary
ConstructorsConstructorDescriptionOperatonBpmWebappAutoConfiguration(org.springframework.core.io.ResourceLoader resourceLoader, OperatonBpmProperties properties) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) voidaddViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry) org.springframework.boot.web.servlet.FilterRegistrationBean<SessionCookiePathFilter>sessionCookiePathFilter(String sessionCookieName, jakarta.servlet.ServletContext servletContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addCorsMappings, addErrorResponseInterceptors, addFormatters, addInterceptors, addReturnValueHandlers, configureApiVersioning, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
Constructor Details
-
OperatonBpmWebappAutoConfiguration
public OperatonBpmWebappAutoConfiguration(org.springframework.core.io.ResourceLoader resourceLoader, OperatonBpmProperties properties)
-
-
Method Details
-
sessionCookiePathFilter
@Bean @ConditionalOnProperty(prefix="operaton.bpm.webapp", name="session-cookie-path-enforcement", havingValue="true") public org.springframework.boot.web.servlet.FilterRegistrationBean<SessionCookiePathFilter> sessionCookiePathFilter(@Value("${server.servlet.session.cookie.name:JSESSIONID}") String sessionCookieName, jakarta.servlet.ServletContext servletContext) - Since:
- 2.1
-
webappsFrontendHealthContributor
@Bean @ConditionalOnProperty(name="operaton.bpm.webapp.enabled", matchIfMissing=true) public FrontendHealthContributor webappsFrontendHealthContributor() -
addResourceHandlers
public void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) - Specified by:
addResourceHandlersin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
addViewControllers
public void addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry) - Specified by:
addViewControllersin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-