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(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 |
UriInfo createUri(java.lang.String uriString)
UriInfo based on a URI stringuriString - the URI string to parseUriInfoUriInfo createUri(java.lang.String scheme, java.lang.String host, int port, java.lang.String username, java.lang.String password, java.lang.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