@ProviderType
public interface URIProvider
Modifier and Type | Interface and Description |
---|---|
static class |
URIProvider.Operation
Defines which operatio the URI may be used to perform.
|
static class |
URIProvider.Scope
Defines the scope in which the URI may be used.
|
Modifier and Type | Method and Description |
---|---|
java.net.URI |
toURI(Resource resource,
URIProvider.Scope scope,
URIProvider.Operation operation)
Return a URI appicable to the defined scope.
|
java.net.URI toURI(Resource resource, URIProvider.Scope scope, URIProvider.Operation operation)
scope
- the required scope.operation
- the required operation.resource
- the resource to convert from.java.lang.IllegalArgumentException
- if a URI for the requested scope and operation cannot be provided to the caller.Copyright © 2018 The Apache Software Foundation. All rights reserved.