public abstract class WebUtils extends Object
Constructor and Description |
---|
WebUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
extractFilenameFromUrlPath(String urlPath)
Extract the URL filename from the given request URL path.
|
static String |
extractFullFilenameFromUrlPath(String urlPath)
Extract the full URL filename (including file extension) from the given
request URL path.
|
public static String extractFilenameFromUrlPath(String urlPath)
urlPath
- the request URL path (e.g. "/index.html")public static String extractFullFilenameFromUrlPath(String urlPath)
urlPath
- the request URL path (e.g. "/products/index.html")Copyright © 2020 Pivotal Software. All rights reserved.