java.lang.Object
cloud.piranha.core.api.WebXmlFilter
A filter inside of web.xml/web-fragment.xml.
- Author:
- Manfred Riem ([email protected])
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addInitParam
(WebXmlFilterInitParam initParam) Add init param.Get the class name.Get the filter name.Get the init parameters.Get the servlet name.boolean
Is async supported.void
setAsyncSupported
(boolean asyncSupported) Set if async is supported.void
setClassName
(String className) Set the class name.void
setFilterName
(String filterName) Set the filter name.void
setServletName
(String servletName) Set the servlet name.
-
Constructor Details
-
WebXmlFilter
public WebXmlFilter()
-
-
Method Details
-
addInitParam
Add init param.- Parameters:
initParam
- the init param.
-
getClassName
Get the class name.- Returns:
- the class name.
-
getFilterName
Get the filter name.- Returns:
- the filter name.
-
getInitParams
Get the init parameters.- Returns:
- the init parameters.
-
getServletName
Get the servlet name.- Returns:
- the servlet name.
-
isAsyncSupported
public boolean isAsyncSupported()Is async supported.- Returns:
- true if it is, false otherwise.
-
setAsyncSupported
public void setAsyncSupported(boolean asyncSupported) Set if async is supported.- Parameters:
asyncSupported
- the boolean value.
-
setClassName
Set the class name.- Parameters:
className
- the class name.
-
setFilterName
Set the filter name.- Parameters:
filterName
- the filter name.
-
setServletName
Set the servlet name.- Parameters:
servletName
- the servlet name.
-