|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.util.WebXmlUtil
public class WebXmlUtil
Contains utility methods to register or check for the existence of elements in web.xml.
Constructor Summary | |
---|---|
WebXmlUtil()
|
|
WebXmlUtil(java.io.InputStream inputStream)
Test-friendly constructor. |
Method Summary | |
---|---|
boolean |
areFilterDispatchersConfiguredProperly(java.lang.String filterClass,
java.util.List mandatoryDispatchers,
java.util.List optionalDispatchers)
Deprecated. since 3.6.4, use checkFilterDispatchersConfiguration() |
int |
checkFilterDispatchersConfiguration(java.lang.String filterClass,
java.util.List mandatoryDispatchers,
java.util.List optionalDispatchers)
Returns: +1 if all mandatory dispatchers are present and no additional unsupported dispatcher is present, or this filter class isn't registered. |
java.util.Collection |
getServletMappings(java.lang.String servletName)
|
boolean |
isFilterRegistered(java.lang.String filterClass)
|
boolean |
isListenerRegistered(java.lang.String deprecatedListenerClass)
|
boolean |
isServletMappingRegistered(java.lang.String servletName)
|
boolean |
isServletMappingRegistered(java.lang.String servletName,
java.lang.String urlPattern)
|
boolean |
isServletOrMappingRegistered(java.lang.String servletName)
|
boolean |
isServletRegistered(java.lang.String servletName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebXmlUtil()
public WebXmlUtil(java.io.InputStream inputStream)
Method Detail |
---|
public boolean isServletOrMappingRegistered(java.lang.String servletName)
public boolean isServletRegistered(java.lang.String servletName)
public boolean isServletMappingRegistered(java.lang.String servletName)
public boolean isServletMappingRegistered(java.lang.String servletName, java.lang.String urlPattern)
public java.util.Collection getServletMappings(java.lang.String servletName)
public boolean isFilterRegistered(java.lang.String filterClass)
public boolean areFilterDispatchersConfiguredProperly(java.lang.String filterClass, java.util.List mandatoryDispatchers, java.util.List optionalDispatchers)
public int checkFilterDispatchersConfiguration(java.lang.String filterClass, java.util.List mandatoryDispatchers, java.util.List optionalDispatchers)
public boolean isListenerRegistered(java.lang.String deprecatedListenerClass)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |