public class PathUtils extends Object
Constructor and Description |
---|
PathUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
getContextPath(String addr)
Get the context path section of an address
|
static String |
getContextPath(URI addr) |
static String |
getPath(String addr)
Get the final path section of an address (for servlet
container, this is typically a url-pattern for an endpoint)
|
static String |
getPath(URI addr) |
public static String getPath(String addr)
addr
- public static String getContextPath(String addr)
addr
- Copyright © 2018. All rights reserved.