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