FilterMapping
This type is a class for model objects.
Declaration of the filter mappings in this web application. The container uses the filter-mapping declarations to decide which filters to apply to a request, and in what order. The container matches the request URI to a Servlet in the normal way. To determine which filters to apply it matches filter-mapping declarations either on servlet-name, or on url-pattern for each filter-mapping element, depending on which style is used. The order in which filters are invoked is the order in which filter-mapping declarations that match a request URI for a servlet appear in the list of filter-mapping elements.The filter-name value must be the value of the
Package: webapplicationsub-elements of one of the declarations in the deployment descriptor. @invariant The filter-name value must be the value of the Filter::name of one of the Filter declarations in the deployment descriptor.
Classifier ID: -1
Instance class name: * Unspecified *
Instance class: * Unspecified *
Collection attributes having this type:
WebApp.filterMappings
Attributes Summary urlPattern : EString The url-pattern element contains the url pattern of the mapping. Must follow the rules specified in Section 10 of the Servlet API Specification. dispatcherType : DispatcherType * No description is available * filter : Filter @ The filter being mapped servlet : Servlet @ An optional servlet that is mapped by a filter mapping. servletName is used to resolve the servlet reference.
Attribute Details
urlPattern - The url-pattern element contains the url pattern of the mapping. Must follow the rules specified in Section 10 of the Servlet API Specification.
Data Type: EString
Default value: unspecified
Required: false
Changeable: true
Unsettable: false
Many: false
Ordered: true
Lower bound: 0
Upper bound: 1
Unique: true
Derived: false
Transient: false
Volatile: false
dispatcherType - * No description is available *
Data Type: DispatcherType
Default value: unspecified
Allowed values:
0 - FORWARD
1 - INCLUDE
2 - REQUEST
3 - ERROR
Required: false
Changeable: true
Unsettable: false
Many: true
Ordered: true
Lower bound: 0
Upper bound: 4
Unique: true
Derived: false
Transient: false
Volatile: false
filter - The filter being mapped
Reference Type: Filter @
Containment: false
Container: false
Required: true
Changeable: true
Unsettable: false
Many: false
Ordered: true
Lower bound: 1
Upper bound: 1
Unique: true
Derived: false
Transient: false
Volatile: false
servlet - An optional servlet that is mapped by a filter mapping. servletName is used to resolve the servlet reference.
Reference Type: Servlet @
Containment: false
Container: false
Required: false
Changeable: true
Unsettable: false
Many: false
Ordered: true
Lower bound: 0
Upper bound: 1
Unique: true
Derived: false
Transient: false
Volatile: false
(C) COPYRIGHT International Business Machines Corp. 1996-2006