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