|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.faces.util.config.internal.ConfiguredServletMappingImpl
public class ConfiguredServletMappingImpl
This class represents a servlet-mapping found in the WEB-INF/web.xml descriptor.
| Constructor Summary | |
|---|---|
ConfiguredServletMappingImpl(String servletName,
String urlPattern,
boolean implicit)
|
|
| Method Summary | |
|---|---|
String |
getExtension()
If the servlet-mapping url-pattern is extension-mapped (like *.faces), then this method returns the .faces extension. |
String |
getServletName()
Returns the servlet-mapping servlet-name. |
String |
getServletPath()
If the servlet-mapping url-pattern is path-mapped (like /views/foo/bar/*), then this method returns the /views/foo/bar path. |
String |
getUrlPattern()
Returns the servlet-mapping url-pattern. |
boolean |
isExtensionMapped()
Flag indicating whether or not the servlet-mapping url-pattern is extension-mapped. |
boolean |
isImplicit()
Flag indicating whether or not the servlet-mapping is implicit, meaning it is associated with ViewHandler.DEFAULT_SUFFIX or ViewHandler.DEFAULT_SUFFIX_PARAM_NAME. |
boolean |
isMatch(String uri)
Flag indicating whether or not the specified uri matches the servlet-mapping url-pattern. |
boolean |
isPathMapped()
Flag indicating whether or not the servlet-mapping url-pattern is path-mapped. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConfiguredServletMappingImpl(String servletName,
String urlPattern,
boolean implicit)
| Method Detail |
|---|
public String toString()
toString in class Objectpublic boolean isExtensionMapped()
ConfiguredServletMapping
isExtensionMapped in interface ConfiguredServletMappingpublic boolean isPathMapped()
ConfiguredServletMapping
isPathMapped in interface ConfiguredServletMappingpublic String getExtension()
ConfiguredServletMapping
getExtension in interface ConfiguredServletMappingpublic boolean isMatch(String uri)
ConfiguredServletMappinguri matches the servlet-mapping url-pattern.
isMatch in interface ConfiguredServletMappingpublic String getServletName()
ConfiguredServletMapping
getServletName in interface ConfiguredServletMappingpublic String getServletPath()
ConfiguredServletMapping
getServletPath in interface ConfiguredServletMappingpublic boolean isImplicit()
ConfiguredServletMappingViewHandler.DEFAULT_SUFFIX or ViewHandler.DEFAULT_SUFFIX_PARAM_NAME.
isImplicit in interface ConfiguredServletMappingpublic String getUrlPattern()
ConfiguredServletMapping
getUrlPattern in interface ConfiguredServletMapping
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||