public class WritableODataClaimProcessor
extends com.tridion.ambientdata.processing.AbstractClaimProcessor
implements com.tridion.ambientdata.processing.ClaimProcessor
Modifier and Type | Field and Description |
---|---|
static String |
PREVIEW_SESSION_TOKEN_COOKIENAME
Session token cookie key.
|
static String |
PREVIEW_SESSION_TOKEN_HTTPHEADER
Session token header key.
|
Constructor and Description |
---|
WritableODataClaimProcessor() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isPreviewWebserviceCall(ClaimStore claimStore)
Determines if the current request is made to the preview webservice or not.
|
void |
onRequestEnd(ClaimStore claimStore) |
void |
onRequestStart(ClaimStore claimStore)
This method checks the claim store to make sure that we identify existing sessions
(and attach request to them) or create new preview sessions.
|
static void |
setProcessorUnInitialized() |
getMapFromClaimStore, onSessionStart
public static final String PREVIEW_SESSION_TOKEN_HTTPHEADER
public static final String PREVIEW_SESSION_TOKEN_COOKIENAME
public void onRequestStart(ClaimStore claimStore)
onRequestStart
in interface com.tridion.ambientdata.processing.ClaimProcessor
onRequestStart
in class com.tridion.ambientdata.processing.AbstractClaimProcessor
protected boolean isPreviewWebserviceCall(ClaimStore claimStore)
claimStore
- claim store of the web contextpublic void onRequestEnd(ClaimStore claimStore)
onRequestEnd
in interface com.tridion.ambientdata.processing.ClaimProcessor
onRequestEnd
in class com.tridion.ambientdata.processing.AbstractClaimProcessor
public static void setProcessorUnInitialized()
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries