public class StandardUriInfoFactory extends java.lang.Object implements UriInfoFactory
[jdbc:]scheme://[user:pass]@authority[:port]/path
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
JDBC_PREFIX |
| Constructor and Description |
|---|
StandardUriInfoFactory() |
| Modifier and Type | Method and Description |
|---|---|
UriInfo |
createUri(java.lang.String uriString)
Create a
UriInfo based on a URI string |
UriInfo |
createUri(java.lang.String scheme,
java.lang.String host,
int port,
java.lang.String username,
java.lang.String password,
java.lang.String path)
Create a
UriInfo based on explicit components of the URI |
public static final java.lang.String JDBC_PREFIX
public UriInfo createUri(java.lang.String scheme, java.lang.String host, int port, java.lang.String username, java.lang.String password, java.lang.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(java.lang.String uriString)
UriInfoFactoryUriInfo based on a URI stringcreateUri in interface UriInfoFactoryuriString - the URI string to parseUriInfo