|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.common.uri.HttpMint
public class HttpMint
A Mint of HTTP URIs that delegates the identification of the naming authority to an AuthorityProvider
.
| Constructor Summary | |
|---|---|
HttpMint()
Creates an instance with a default AuthorityProvider |
|
HttpMint(AuthorityProvider provider)
Creates an instance with a given AuthorityProvider. |
|
| Method Summary | |
|---|---|
URI |
mint(List<String> elements)
Mints an absolute hierarchical URI from the elements of its path. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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.| Method Detail |
|---|
public URI mint(List<String> elements)
throws IllegalStateException
Mint
mint in interface Mintelements - the elements, as defined in RFC 3986
IllegalStateException - if the URI cannot be minted in the state of the current thread.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||