com.ning.http.client.uri
Class UriComponents
java.lang.Object
com.ning.http.client.uri.UriComponents
public class UriComponents
- extends Object
UriComponents
public UriComponents(String scheme,
String userInfo,
String host,
int port,
String path,
String query)
create
public static UriComponents create(String originalUrl)
create
public static UriComponents create(UriComponents context,
String originalUrl)
getQuery
public String getQuery()
getPath
public String getPath()
getUserInfo
public String getUserInfo()
getPort
public int getPort()
getScheme
public String getScheme()
getHost
public String getHost()
toURI
public URI toURI()
throws URISyntaxException
- Throws:
URISyntaxException
toUrl
public String toUrl()
toString
public String toString()
- Overrides:
toString in class Object
withNewScheme
public UriComponents withNewScheme(String newScheme)
withNewQuery
public UriComponents withNewQuery(String newQuery)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2014. All Rights Reserved.