public class TestContentContext extends ContentContext
CHANGE_AREA_ATTRIBUTE_NAME, CHARACTER_ENCODING, CHARSET_DEFAULT, CLEAR_SESSION_PARAM, contentExistForContext, CONTEXT_REQUEST_KEY, currentPageCached, EDIT_MODE, editPreview, FORCE_ABSOLUTE_URL, FORCE_MODE_PARAMETER_NAME, FORCED_CONTENT_PREFIX, FORWARD_AJAX, FORWARD_PATH_REQUEST_KEY, logger, MAILING_MODE, MODULE_MODE, NO_DMZ_PARAM_NAME, PAGE_MODE, PREVIEW_EDIT_PARAM, PREVIEW_MODE, PREVIEW_ONLY_MODE, PRODUCT_NAME, TAKE_SCREENSHOT, TIME_MODE, VIEW_MODE
Constructor and Description |
---|
TestContentContext(ContentContext ctx) |
Modifier and Type | Method and Description |
---|---|
static TestContentContext |
getContentContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
GlobalContext |
getGlobalContext() |
static void |
main(String[] args) |
addAjaxData, addAjaxInsideZone, addAjaxZone, getAjaxData, getAjaxInsideZone, getAjaxMap, getAjaxZone, getArea, getBean, getContentContext, getContentContextForInternalLink, getContentLanguage, getContextForAbsoluteURL, getContextForAllLanguage, getContextForDefaultLanguage, getContextLanguage, getContextNotEmpty, getContextOnPage, getContextRequestLanguage, getContextWidthOtherRequestLanguage, getContextWidthTitle, getContextWithArea, getContextWithContent, getContextWithContentDEBUG, getContextWithContentNeverNull, getContextWithInternalURL, getContextWithOtherFormat, getContextWithOtherRenderMode, getContextWithoutArea, getCookieLanguage, getCurrentEditUser, getCurrentPage, getCurrentPageCached, getCurrentTemplate, getCurrentTemplates, getCurrentUser, getCurrentUserId, getCurrentUserIdNeverNull, getDevice, getDeviceNames, getDMZServerInter, getEditMode, getEmptyContentContext, getFormat, getFreeContentContext, getFreeContentContext, getHomePageURL, getHostName, getHostPort, getLanguage, getLocale, getMasterContentContext, getNewContentContext, getParentURL, getPath, getPathPrefix, getPathPrefix, getPathPrefix, getRealRemoteIp, getRealRemoteIp, getRealRemoteIp, getRealRemoteIp, getRemoteIp, getRenderMode, getRenderModeKey, getRequest, getRequestContentLanguage, getRequestContentLanguageRAW, getRequestService, getResponse, getScheduledAjaxInsideZone, getSpecialContentRenderer, getSpecificJson, getTitleDepth, getURLFactory, getURLProtocolPrefix, getVirtualArea, getVirtualCurrentPage, isAbsoluteURL, isAjax, isArray, isAsEditMode, isAsModifyMode, isAsPageMode, isAsPreviewMode, isAsViewMode, isCanUndo, isCheckContentArea, isClearSession, isClosePopup, isComponentCache, isContentContext, isContentFound, isContentStatic, isEdit, isEdition, isEditPreview, isEditPreview, isExport, isForceCorrectPath, isForceGlobalContext, isFree, isHostDefineSite, isHostDefineSite, isInteractiveMode, isInternalURL, isLikeEditRenderMode, isLikeViewRenderMode, isNeedRefresh, isOnlyArea, isPageAssociation, isPageRequest, isPostRequest, isPreview, isPreviewOnly, isRefreshParent, isResourceGZip, isStopRendering, isTakeScreenShort, isTrackingContext, isUserWebSiteManager, isViewPrefix, isVisible, isVisualMode, release, resetCache, resetCurrentPageCached, resetDMZServerInter, scheduleAjaxInsideZone, sendRedirect, setAbsoluteURL, setAjax, setAjaxMap, setAllLanguage, setArea, setArray, setCheckContentArea, setClearSession, setClosePopup, setComponentCache, setContentContent, setContentContextIfNeeded, setContentFound, setContentLanguage, setContextRequestLanguage, setCookieLanguage, setCurrentPageCached, setCurrentTemplate, setCurrentTemplateId, setDefaultArea, setDevice, setEdit, setEditPreview, setExport, setForceCorrectPath, setForceGlobalContext, setForcePathPrefix, setForcePathPrefix, setFormat, setFree, setHostDefineSite, setHostName, setHostPort, setInternalURL, setLanguage, setNeedRefresh, setPageAssociation, setPageRequest, setParentURL, setPath, setPostRequest, setPreview, setRefreshParent, setRenderMode, setRequest, setRequestContentLanguage, setResponse, setSpecialContentRenderer, setSpecificJson, setStopRendering, setTitleDepth, setURLFactory, setURLProtocolPrefix, setViewPrefix, setVirtualArea, setVirtualCurrentPage, setVisible, storeInRequest, toStream, toString
public TestContentContext(ContentContext ctx)
public static TestContentContext getContentContext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception
public static void main(String[] args)
public GlobalContext getGlobalContext()
getGlobalContext
in class ContentContext
Copyright © 2012-2018. All Rights Reserved.