public interface UriInfoFactory
UriInfo
s.
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()
.UriInfo createUri(String uriString)
UriInfo
based on a URI stringuriString
- the URI string to parseUriInfo
UriInfo 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