public class StandardUriInfoFactory extends Object implements UriInfoFactory
scheme://[user:pass]@authority[:port]/path
| Constructor and Description |
|---|
StandardUriInfoFactory() |
| Modifier and Type | Method and Description |
|---|---|
UriInfo |
createUri(String uriString)
Create a
UriInfo based on a URI string |
UriInfo |
createUri(String scheme,
String host,
int port,
String username,
String password,
String path)
Create a
UriInfo based on explicit components of the URI |
public UriInfo createUri(String scheme, String host, int port, String username, String password, String path)
UriInfoFactoryUriInfo based on explicit components of the URIcreateUri in interface UriInfoFactoryscheme - the URI scheme for this servicehost - the host for this serviceport - the port for this serviceusername - the authentication username for this servicepassword - the authentication password for this servicepath - the path to this service resource on the serverUriInfopublic UriInfo createUri(String uriString)
UriInfoFactoryUriInfo based on a URI stringcreateUri in interface UriInfoFactoryuriString - the URI string to parseUriInfo