Package ro.isdc.wro.extensions.http
Class SpringWroFilter
java.lang.Object
ro.isdc.wro.http.WroFilter
ro.isdc.wro.http.ConfigurableWroFilter
ro.isdc.wro.extensions.http.SpringWroFilter
- All Implemented Interfaces:
jakarta.servlet.Filter
A WroFilter capable to get a
WroManagerFactory instance from spring
context. The filter must have initParam called targetBeanName
whose value will be looked up in the spring application context.- Author:
- Alex Objelean
-
Field Summary
Fields inherited from class ro.isdc.wro.http.WroFilter
ATTRIBUTE_PASSED_THROUGH_FILTER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoInit(jakarta.servlet.FilterConfig filterConfig) protected WroManagerFactoryMethods inherited from class ro.isdc.wro.http.ConfigurableWroFilter
getEncoding, newMBeanName, newWroConfigurationFactory, setCacheUpdatePeriod, setDebug, setDisableCache, setEncoding, setGzipEnabled, setJmxEnabled, setMbeanName, setModelUpdatePeriod, setPropertiesMethods inherited from class ro.isdc.wro.http.WroFilter
destroy, doFilter, getConfiguration, getMBeanServer, getWroManagerFactory, init, isPassedThroughyWroFilter, newRequestHandlerFactory, newResponseHeadersConfigurer, onException, onRequestProcessed, setConfiguration, setEnable, setRequestHandlerFactory, setResponseHeaders, setWroConfigurationFactory, setWroManagerFactory
-
Constructor Details
-
SpringWroFilter
public SpringWroFilter()
-
-
Method Details
-
doInit
protected void doInit(jakarta.servlet.FilterConfig filterConfig) throws jakarta.servlet.ServletException -
newWroManagerFactory
- Overrides:
newWroManagerFactoryin classConfigurableWroFilter
-