|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.faces.bridge.config.ServletMappingImpl
public class ServletMappingImpl
This class represents a servlet-mapping found in the WEB-INF/web.xml descriptor.
| Constructor Summary | |
|---|---|
ServletMappingImpl(String urlPattern)
|
|
| Method Summary | |
|---|---|
String |
getExtension()
If the servlet-mapping url-pattern is extension-mapped (like *.faces), then this method returns the .faces extension. |
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 |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServletMappingImpl(String urlPattern)
| Method Detail |
|---|
public boolean isExtensionMapped()
ServletMapping
isExtensionMapped in interface ServletMappingpublic boolean isPathMapped()
ServletMapping
isPathMapped in interface ServletMappingpublic String getExtension()
ServletMapping
getExtension in interface ServletMappingpublic boolean isMatch(String uri)
ServletMappinguri matches the servlet-mapping url-pattern.
isMatch in interface ServletMappingpublic String getServletPath()
ServletMapping
getServletPath in interface ServletMappingpublic String getUrlPattern()
ServletMapping
getUrlPattern in interface ServletMapping
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||