public interface ConfiguredServletMapping
Modifier and Type | Method and Description |
---|---|
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 getExtension()
String getServletName()
String getServletPath()
String getUrlPattern()
boolean isExtensionMapped()
boolean isImplicit()
ViewHandler.DEFAULT_SUFFIX
or ViewHandler.DEFAULT_SUFFIX_PARAM_NAME
.boolean isMatch(String uri)
uri
matches the servlet-mapping url-pattern.boolean isPathMapped()
Copyright © 2018 Liferay, Inc.. All rights reserved.