public class HttpMint extends Object implements Mint
Mint of HTTP URIs that delegates the identification of the naming authority to an AuthorityProvider
.| Constructor and Description |
|---|
HttpMint()
Creates an instance with a default
AuthorityProvider |
HttpMint(AuthorityProvider provider)
Creates an instance with a given
AuthorityProvider. |
public HttpMint()
AuthorityProvider
The default provider uses the authority currently in scope, resolving it from a
ScopedPropertyAP.AUHTORITY_PROVIDER_PROPERTY_FILE.
ScopeProvider,
ScopedAPAdapter,
ScopedPropertyAPpublic HttpMint(AuthorityProvider provider)
AuthorityProvider.provider - the provider.public URI mint(List<String> elements) throws IllegalStateException
Mintmint in interface Mintelements - the elements, as defined in RFC 3986IllegalStateException - if the URI cannot be minted in the state of the current thread.Copyright © 2020. All Rights Reserved.