public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static URI |
getAddress(String path,
javax.servlet.ServletRequest req,
boolean setParameters) |
static String |
getBasePath(javax.servlet.http.HttpServletRequest request) |
static String |
getBaseUrl(javax.servlet.http.HttpServletRequest request) |
static String |
getCompletePath(javax.servlet.http.HttpServletRequest request) |
static void |
main(String[] args) |
public static URI getAddress(String path, javax.servlet.ServletRequest req, boolean setParameters) throws URISyntaxException
URISyntaxExceptionpublic static String getBaseUrl(javax.servlet.http.HttpServletRequest request)
public static String getBasePath(javax.servlet.http.HttpServletRequest request)
public static String getCompletePath(javax.servlet.http.HttpServletRequest request)
public static void main(String[] args) throws URISyntaxException
URISyntaxExceptionCopyright © 2019. All Rights Reserved.