|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.application.DefaultViewHandlerSupport.FacesServletMapping
protected static class DefaultViewHandlerSupport.FacesServletMapping
Represents a mapping entry of the FacesServlet in the web.xml configuration file.
| Constructor Summary | |
|---|---|
protected |
DefaultViewHandlerSupport.FacesServletMapping()
|
| Method Summary | |
|---|---|
static DefaultViewHandlerSupport.FacesServletMapping |
createExtensionMapping(java.lang.String extension)
Creates a new FacesServletMapping object using extension mapping. |
static DefaultViewHandlerSupport.FacesServletMapping |
createPrefixMapping(java.lang.String path)
Creates a new FacesServletMapping object using prefix mapping. |
java.lang.String |
getExtension()
Returns the extension (".jsf", for example) which has been specified in the url-pattern of the FacesServlet mapping. |
java.lang.String |
getPrefix()
Returns the path ("/faces", for example) which has been specified in the url-pattern of the FacesServlet mapping. |
java.lang.String |
getUrlPattern()
Returns the url-pattern entry for this servlet mapping. |
boolean |
isExtensionMapping()
Indicates whether this mapping is based on an extension (e.g. |
void |
setExtension(java.lang.String extension)
Sets the extension (".jsf", for example) which has been specified in the url-pattern of the FacesServlet mapping. |
void |
setPrefix(java.lang.String path)
Sets the path ("/faces/", for example) which has been specified in the url-pattern. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected DefaultViewHandlerSupport.FacesServletMapping()
| Method Detail |
|---|
public static DefaultViewHandlerSupport.FacesServletMapping createPrefixMapping(java.lang.String path)
path - The path ("/faces", for example) which has been specified
in the url-pattern of the FacesServlet mapping.
public static DefaultViewHandlerSupport.FacesServletMapping createExtensionMapping(java.lang.String extension)
path - The extension (".jsf", for example) which has been
specified in the url-pattern of the FacesServlet mapping.
public java.lang.String getPrefix()
null will be returned. Note that this
path is not the same as the specified url-pattern as the trailing
"/*" is omitted.
public void setPrefix(java.lang.String path)
path - The path which has been specified in the url-patternpublic java.lang.String getExtension()
null will be returned.
public void setExtension(java.lang.String extension)
extension - The extension which has been specified in the url-patternpublic boolean isExtensionMapping()
true, if this mapping is based is on an
extension, false otherwisepublic java.lang.String getUrlPattern()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||