Package | Description |
---|---|
de.espirit.firstspirit.client.plugin.dataaccess.aspects |
Modifier and Type | Method and Description |
---|---|
UrlGenerationContext.Builder |
UrlGenerationContext.Builder.attribute(String name,
Object value)
Configures an attribute to be available in the generation context.
|
static UrlGenerationContext.Builder |
UrlGenerationContext.builder()
Creates a builder for the context in which an URL will be requested.
|
UrlGenerationContext.Builder |
UrlGenerationContext.Builder.from(GenerationContext context)
The
GenerationContext to extract the context information from,
which consists of:
The UrlCreator configured in the given generation context
The UrlCreatorProvider available in the given generation context
The contextual Language
Whether or not the release version is used
|
UrlGenerationContext.Builder |
UrlGenerationContext.Builder.from(JsonGenerationContext context)
The
JsonGenerationContext to extract the context information from,
which consists of:
The UrlCreator configured in the generation context
The UrlCreatorProvider available in the generation context
The contextual Language
Whether or not the release version is used
The current attributes available in the given JSON generation context
|
UrlGenerationContext.Builder |
UrlGenerationContext.Builder.language(Language language)
Configures the contextual
Language when requesting the URL. |
UrlGenerationContext.Builder |
UrlGenerationContext.Builder.release(boolean release)
Indicates whether or not the URL is requested in the context of a release version.
|
UrlGenerationContext.Builder |
UrlGenerationContext.Builder.urlCreator(UrlCreator urlCreator)
Configures the url creator to be used in the current generation context.
|
UrlGenerationContext.Builder |
UrlGenerationContext.Builder.urlCreatorProvider(UrlCreatorProvider urlCreatorProvider)
Configures the provider of url creators in the current generation context.
|
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210