Package | Description |
---|---|
info.magnolia.cms.core | |
info.magnolia.cms.filters | |
info.magnolia.context | |
info.magnolia.voting.voters |
Modifier and Type | Class and Description |
---|---|
class |
HTMLEscapingAggregationState
Wrapper around
AggregationState created in order to escape all output to rendering. |
Modifier and Type | Method and Description |
---|---|
AggregationState |
HTMLEscapingAggregationState.unwrap()
WARNING: doing for instance ${state.unwrap()} in a template and then calling any method on the raw
{@link AggregationState} will disable automatic HTML escaping provided by this wrapper thus potentially exposing
your webapp to XSS attacks.
|
Constructor and Description |
---|
HTMLEscapingAggregationState(javax.inject.Provider<AggregationState> aggregationStateProvider) |
Constructor and Description |
---|
RepositoryMappingFilter(URI2RepositoryManager uri2RepositoryManager,
javax.inject.Provider<AggregationState> aggregationStateProvider) |
Modifier and Type | Field and Description |
---|---|
protected AggregationState |
WebContextImpl.aggregationState |
Modifier and Type | Method and Description |
---|---|
AggregationState |
WebContext.getAggregationState()
Retrieves the Aggregator instance, which gathers all info regarding the current request (paths, etc).
|
AggregationState |
WebContextImpl.getAggregationState() |
AggregationState |
HTMLEscapingWebContextWrapper.getAggregationState() |
static AggregationState |
MgnlContext.getAggregationState()
Returns the AggregationState if we're in a WebContext, throws an
IllegalStateException otherwise.
|
protected abstract AggregationState |
WebContextImpl.newAggregationState() |
protected AggregationState |
WebContextFactoryImpl.newAggregationState()
Override this method if you need to provide a specific subclass of AggregationState.
|
Modifier and Type | Method and Description |
---|---|
protected javax.inject.Provider<AggregationState> |
RequestExtensionVoter.getAggregationStateProvider() |
Constructor and Description |
---|
RequestExtensionVoter(javax.inject.Provider<AggregationState> aggregationStateProvider) |
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.