public class StandardUriInfoFactory extends java.lang.Object implements UriInfoFactory
scheme://[user:pass]@authority[:port]/path
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 UriInfo createUri(java.lang.String scheme, java.lang.String host, int port, java.lang.String username, java.lang.String password, java.lang.String path)
UriInfoFactory
UriInfo
based on explicit components of the URIcreateUri
in interface UriInfoFactory
scheme
- 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 serverUriInfo
public UriInfo createUri(java.lang.String uriString)
UriInfoFactory
UriInfo
based on a URI stringcreateUri
in interface UriInfoFactory
uriString
- the URI string to parseUriInfo