public class URLUtil extends Object
| コンストラクタと説明 |
|---|
URLUtil() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static URL |
addParam(URL url,
String paramString) |
static URL |
dropUserInfo(URL url) |
static String |
getContextUrl(URL url) |
static String |
getLocalUriString(String uri)
returns string after context in URL.
|
static Map<String,String> |
getQueryParameters(URL url) |
static String |
getRootUrl(URL url) |
static String |
getUntilQuery(URL url) |
static URL |
mergePath(URL url,
String pathAndSearchPart) |
static URL |
replaceHost(URL url,
String host) |
static URL |
replaceHostAndPort(URL url,
String host,
int port) |
public static URL replaceHost(URL url, String host) throws MalformedURLException
public static URL replaceHostAndPort(URL url, String host, int port) throws MalformedURLException
public static String getLocalUriString(String uri)
url - public static URL addParam(URL url, String paramString) throws MalformedURLException
public static URL mergePath(URL url, String pathAndSearchPart) throws MalformedURLException
Copyright © 2017. All rights reserved.