public class UrlHelper
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
baseUriOf(javax.servlet.http.HttpServletRequest request)
Returns the baseUri of the request: http://www.example.com:8080/example
|
static java.net.URL |
url(java.lang.String url) |
public static java.lang.String baseUriOf(javax.servlet.http.HttpServletRequest request)
request - the current HttpServletRequestpublic static java.net.URL url(java.lang.String url)