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 |
getContextPathFromRequest(String requestPath) |
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) |
static String |
getPathFromRequest(String requestPath) |
static String |
removeTrailingSlash(String path) |
public static String getPath(String addr)
addr
- public static String getContextPath(String addr)
addr
- Copyright © 2019 JBoss, by Red Hat. All rights reserved.