Java org.springframework.web.filter DelegatingFilterProxy fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.web.filter DelegatingFilterProxy fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.web.filter DelegatingFilterProxy.

The text is from its open source code.

Subclass

org.springframework.web.filter.DelegatingFilterProxy has subclasses.
Click this link to see all its subclasses.

Constructor

DelegatingFilterProxy(Filter delegate)
Create a new DelegatingFilterProxy with the given Filter delegate.
DelegatingFilterProxy(String targetBeanName)
Create a new DelegatingFilterProxy that will retrieve the named target bean from the Spring WebApplicationContext found in the ServletContext (either the 'root' application context or the context named by #setContextAttribute ).
DelegatingFilterProxy(String targetBeanName, @Nullable WebApplicationContext wac)
Create a new DelegatingFilterProxy that will retrieve the named target bean from the given Spring WebApplicationContext .
DelegatingFilterProxy()
Create a new DelegatingFilterProxy .

Method

voidsetBeanName(String beanName)
Stores the bean name as defined in the Spring bean factory.
voidsetContextAttribute(@Nullable String contextAttribute)
Set the name of the ServletContext attribute which should be used to retrieve the WebApplicationContext from which to load the delegate Filter bean.
voidsetTargetBeanName(@Nullable String targetBeanName)
Set the name of the target bean in the Spring application context.
voidsetTargetFilterLifecycle(boolean targetFilterLifecycle)
Set whether to invoke the Filter.init and Filter.destroy lifecycle methods on the target bean.