com.ning.http.client.uri
Class UriComponents

java.lang.Object
  extended by com.ning.http.client.uri.UriComponents

public class UriComponents
extends Object


Constructor Summary
UriComponents(String scheme, String userInfo, String host, int port, String path, String query)
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UriComponents

public UriComponents(String scheme,
                     String userInfo,
                     String host,
                     int port,
                     String path,
                     String query)
Method Detail

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.