@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 |
|---|---|
@NotNull java.net.URI |
toURI(@NotNull Resource resource,
URIProvider.Scope scope,
URIProvider.Operation operation)
Return a URI appicable to the defined scope.
|
@NotNull
@NotNull java.net.URI toURI(@NotNull
@NotNull Resource resource,
@NotNull
URIProvider.Scope scope,
@NotNull
URIProvider.Operation operation)
resource - the resource to convert from.scope - the required scope.operation - the required operation.java.lang.IllegalArgumentException - if a URI for the requested scope and operation cannot be provided to the caller.Copyright © 2022 The Apache Software Foundation. All rights reserved.