|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServletMapping
The ServletMapping interface provides a representation of a servlet-mapping entry from the WEB-INF/web.xml descriptor.
| 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. |
| Method Detail |
|---|
boolean isExtensionMapped()
boolean isPathMapped()
String getExtension()
boolean isMatch(String uri)
uri matches the servlet-mapping url-pattern.
String getServletPath()
String getUrlPattern()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||