public interface UriInfoFactory
UriInfos.
If your ServiceInfo needs to deal with special URIs and you are extending
UriBasedServiceInfo then you can implement this factory interface in order
to return a custom factory from your ServiceInfo by overriding
UriBasedServiceInfo.getUriInfoFactory().| 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 |
UriInfo createUri(String uriString)
UriInfo based on a URI stringuriString - the URI string to parseUriInfoUriInfo createUri(String scheme, String host, int port, String username, String password, String path)
UriInfo based on explicit components of the URIscheme - 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