public class SSIServletRequestUtil extends Object
Constructor and Description |
---|
SSIServletRequestUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getRelativePath(javax.servlet.http.HttpServletRequest request)
Return the relative path associated with this servlet.
|
static String |
normalize(String path)
Return a context-relative path, beginning with a "/", that represents
the canonical version of the specified path after ".." and "." elements
are resolved out.
|
public static String getRelativePath(javax.servlet.http.HttpServletRequest request)
request
- The servlet request we are processingpublic static String normalize(String path)
null
instead. This normalize should be
the same as DefaultServlet.normalize, which is almost the same ( see
source code below ) as RequestUtil.normalize. Do we need all this
duplication?path
- Path to be normalizedCopyright © 2014 JBoss by Red Hat. All rights reserved.