public class UriComponents extends Object
Constructor and Description |
---|
UriComponents(String scheme,
String userInfo,
String host,
int port,
String path,
String query) |
Modifier and Type | Method and Description |
---|---|
static UriComponents |
create(String originalUrl) |
static UriComponents |
create(UriComponents context,
String originalUrl) |
boolean |
equals(Object obj) |
String |
getHost() |
String |
getPath() |
int |
getPort() |
String |
getQuery() |
String |
getScheme() |
String |
getUserInfo() |
int |
hashCode() |
String |
toString() |
URI |
toURI() |
String |
toUrl() |
UriComponents |
withNewQuery(String newQuery) |
UriComponents |
withNewScheme(String newScheme) |
public static UriComponents create(String originalUrl)
public static UriComponents create(UriComponents context, String originalUrl)
public String getQuery()
public String getPath()
public String getUserInfo()
public int getPort()
public String getScheme()
public String getHost()
public URI toURI() throws URISyntaxException
URISyntaxException
public String toUrl()
public UriComponents withNewScheme(String newScheme)
public UriComponents withNewQuery(String newQuery)
Copyright © 2014. All Rights Reserved.