public class Util extends Object
| Constructor and Description |
|---|
Util() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getContextURL(javax.servlet.http.HttpServletRequest req)
Gets the server url.
|
static String |
getFullURL(javax.servlet.http.HttpServletRequest request)
Gets the full url.
|
static String |
getServerURL(javax.servlet.http.HttpServletRequest req)
Gets the server url.
|
static String |
removeLastChar(String string)
Removes the last char.
|
static String |
toQueryString(javax.ws.rs.core.MultivaluedMap<String,String> queryParameters)
To query string.
|
public static String getFullURL(javax.servlet.http.HttpServletRequest request)
request - the requestpublic static String getServerURL(javax.servlet.http.HttpServletRequest req)
req - the reqpublic static String getContextURL(javax.servlet.http.HttpServletRequest req)
req - the reqpublic static String removeLastChar(String string)
string - the stringCopyright © 2022. All Rights Reserved.