public class RequestPath extends Object
HttpServletRequest.getPathInfo()
). Includes utility methods
for breaking the path down into its "head" (first component) and "tail"
(remainder of the path without the head).Constructor and Description |
---|
RequestPath(String pathInfo) |
Modifier and Type | Method and Description |
---|---|
String |
getHead()
Returns the first component of the path.
|
String |
getRelativePath()
Returns the full path without any leading "/" character.
|
String |
getTail()
Returns the remainder of the path after removing the first component.
|
public RequestPath(String pathInfo)
public String getRelativePath()
public String getHead()
public String getTail()
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.