org.springframework.web.filter
Class FilterConfigPropertyValues
- class FilterConfigPropertyValues
- implements PropertyValues
PropertyValues implementation created from ServetConfig parameters.
This class is immutable once initialized.
- Author:
- Juergen Hoeller
FilterConfigPropertyValues
public FilterConfigPropertyValues(FilterConfig config)
throws ServletException
- Create a new FilterConfigPropertyValues object.
- Parameters:
- config - ServletConfig we'll use to take PropertyValues from
- Throws:
- ServletException - should never be thrown from this method
FilterConfigPropertyValues
public FilterConfigPropertyValues(FilterConfig config, List requiredProperties)
throws ServletException
- Creates new FilterConfigPropertyValues object.
- Parameters:
- config - ServletConfig we'll use to take PropertyValues from
- requiredProperties - array of property names we need, where
we can't accept default values
- Throws:
- ServletException - if any required properties are missing
changesSince
public PropertyValues changesSince(PropertyValues old)
contains
public boolean contains(String propertyName)
getPropertyValue
public PropertyValue getPropertyValue(String propertyName)
getPropertyValues
public PropertyValue[] getPropertyValues()
to Class org.springframework.beans.MutablePropertyValues- PropertyValues delegate. We use delegation rather than simply subclass
MutablePropertyValues as we don't want to expose MutablePropertyValues's
update methods. This class is immutable once initialized.