Class FilterDTO
- java.lang.Object
-
- org.osgi.dto.DTO
-
- org.osgi.service.http.runtime.dto.FilterDTO
-
- Direct Known Subclasses:
FailedFilterDTO
public class FilterDTO extends DTO
Represents a servletjavax.servlet.Filter
service currently being used for by a servlet context.
-
-
Field Summary
Fields Modifier and Type Field Description boolean
asyncSupported
Specifies whether the servlet filter supports asynchronous processing.String[]
dispatcher
The dispatcher associations for the servlet filter.Map<String,String>
initParams
The servlet filter initialization parameters as provided during registration of the servlet filter.String
name
The name of the servlet filter.String[]
patterns
The request mappings for the servlet filter.String[]
regexs
The request mappings for the servlet filter.long
serviceId
Service property identifying the servlet filter.long
servletContextId
The service id of the servlet context for the servlet filter represented by this DTO.String[]
servletNames
The servlet names for the servlet filter.
-
Constructor Summary
Constructors Constructor Description FilterDTO()
-
-
-
Field Detail
-
name
public String name
The name of the servlet filter. This field is nevernull
.
-
patterns
public String[] 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
public String[] 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
public String[] 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 asyncSupported
Specifies whether the servlet filter supports asynchronous processing.
-
dispatcher
public String[] 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
public Map<String,String> 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 serviceId
Service property identifying the servlet filter. In the case of a servlet filter registered in the service registry and picked up by a Http 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 servletContextId
The service id of the servlet context for the servlet filter represented by this DTO.
-
-