JcrDeliveryEndpointDefinition
instead@Deprecated public interface JcrDeliveryEndpointDefinition extends info.magnolia.rest.EndpointDefinition
JcrDeliveryEndpointDefinition
configures the behavior of the JcrDeliveryEndpoint
to serve content from specific workspaces or node types.
This is essentially a map of endpoint prefixes to target workspaces with various settings.
Do check the available configuration options on WorkspaceParameters
.
/!\ Mind that, despite allowing config of multiple endpoints in different YAML files and/or JCR config,
there may be only one registration per endpoint class (bound to its annotated @Path
).
This holds true for the JcrDeliveryEndpoint
.
In case multiple endpoints with same class are configured, it is unspecified which one RESTEasy will pick; unregistering one may also unregister all of them.
Modifier and Type | Method and Description |
---|---|
Map<String,WorkspaceParameters> |
getParams()
Deprecated.
Defines the target workspaces and settings to expose, based on endpoint prefixes.
If no param entry is configured, then no workspace is exposed through the delivery endpoint. |
Map<String,WorkspaceParameters> getParams()
Copyright © 2020 Magnolia International Ltd.. All rights reserved.