Class FilterDTO
java.lang.Object
org.osgi.dto.DTO
org.osgi.service.servlet.runtime.dto.FilterDTO
- Direct Known Subclasses:
FailedFilterDTO
Represents a servlet
jakarta.servlet.Filter
service currently being
used for by a servlet context.- "NotThreadSafe"
-
Field Summary
Modifier and TypeFieldDescriptionboolean
Specifies whether the servlet filter supports asynchronous processing.String[]
The dispatcher associations for the servlet filter.The servlet filter initialization parameters as provided during registration of the servlet filter.The name of the servlet filter.String[]
The request mappings for the servlet filter.String[]
The request mappings for the servlet filter.long
Service property identifying the servlet filter.long
The service id of the servlet context for the servlet filter represented by this DTO.String[]
The servlet names for the servlet filter. -
Constructor Summary
-
Method Summary
-
Field Details
-
name
The name of the servlet filter. This field is nevernull
. -
patterns
The request mappings for the servlet filter.The specified patterns are used to determine whether a request is mapped to the servlet filter. This array might be empty.
-
servletNames
The servlet names for the servlet filter.The specified names are used to determine the servlets whose requests are mapped to the servlet filter. This array might be empty.
-
regexs
The request mappings for the servlet filter.The specified regular expressions are used to determine whether a request is mapped to the servlet filter. This array might be empty.
-
asyncSupported
public boolean asyncSupportedSpecifies whether the servlet filter supports asynchronous processing. -
dispatcher
The dispatcher associations for the servlet filter.The specified names are used to determine in what occasions the servlet filter is called. This array is never
null
. -
initParams
The servlet filter initialization parameters as provided during registration of the servlet filter. Additional parameters like the Http Service Runtime attributes are not included. If the servlet filter has not initialization parameters, this map is empty. -
serviceId
public long serviceIdService property identifying the servlet filter. In the case of a servlet filter registered in the service registry and picked up by a Servlet Whiteboard Implementation, this value is not negative and corresponds to the service id in the registry. If the servlet filter has not been registered in the service registry, the value is negative and a unique negative value is generated by the Http Service Runtime in this case. -
servletContextId
public long servletContextIdThe service id of the servlet context for the servlet filter represented by this DTO.
-
-
Constructor Details
-
FilterDTO
public FilterDTO()
-