com.jalios.jcms.ajax
Class JcmsJspAjaxContext

java.lang.Object
  extended by com.jalios.jcms.context.AbstractJcmsAjaxContext
      extended by com.jalios.jcms.ajax.JcmsJspAjaxContext
All Implemented Interfaces:
Serializable

public class JcmsJspAjaxContext
extends AbstractJcmsAjaxContext

See Also:
Serialized Form

Field Summary
protected  String ajaxReqId
           
protected  Map<String,Object> attributeMap
           
protected  Boolean displayServlet
           
protected  String fwdContextPath
           
protected  String fwdPathInfo
           
protected  String fwdQueryString
           
protected  String fwdRequestURI
           
protected  String fwdServletPath
           
protected  String reqContextPath
           
protected  String reqPathInfo
           
protected  String reqPathTranslated
           
protected  String reqQueryString
           
protected  String reqRequestURI
           
protected  String reqServletPath
           
 
Fields inherited from class com.jalios.jcms.context.AbstractJcmsAjaxContext
baseUrl, caddy, channel, contextPath, ctxCategories, currentCategory, debug, isAdmin, isIE, isInFrontOffice, isLogged, isWindows, loggedMember, method, parameterMap, portal, portalCategory, pub, resourcePath, url, userLang, userLocale, workspace, zone
 
Constructor Summary
JcmsJspAjaxContext()
           
JcmsJspAjaxContext(JcmsJspContext ctxt)
           
 
Method Summary
 boolean debug(String key)
           
 Object getAttribute(String key)
           
protected  void readObject(Map<String,Object> map, javax.servlet.http.HttpServletRequest request)
           
 Object removeAttribute(String key)
           
 void setAttribute(String key, Object value)
           
 void setJcmsContext(JcmsJspContext jcmsContext)
          Sets the following values from values found in the specified JcmsJspContext.
Values are not retrieved from context if they have already been set through their setter.
protected  void writeObject(Map<String,Object> map)
           
 
Methods inherited from class com.jalios.jcms.context.AbstractJcmsAjaxContext
checkAccess, checkAccess, deflate, getBaseUrl, getCaddy, getContextPath, getCtxCategories, getCurrentCategory, getLoggedMember, getMethod, getParameterMap, getPortal, getPortalCategory, getPublication, getResourcePath, getUrl, getUserLang, getUserLocale, getWorkspace, getZone, glp, inflate, isAdmin, isInFrontOffice, isLogged, setBaseUrl, setContextPath, setCtxCategories, setCurrentCategory, setLoggedMember, setMethod, setParameterMap, setPortal, setPortalCategory, setPublication, setResourcePath, setUrl, setUserLang, setUserLocale, setWorkspace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reqRequestURI

protected transient String reqRequestURI

reqContextPath

protected transient String reqContextPath

reqPathInfo

protected transient String reqPathInfo

reqPathTranslated

protected transient String reqPathTranslated

reqQueryString

protected transient String reqQueryString

reqServletPath

protected transient String reqServletPath

fwdRequestURI

protected transient String fwdRequestURI

fwdContextPath

protected transient String fwdContextPath

fwdPathInfo

protected transient String fwdPathInfo

fwdQueryString

protected transient String fwdQueryString

fwdServletPath

protected transient String fwdServletPath

ajaxReqId

protected transient String ajaxReqId

attributeMap

protected transient Map<String,Object> attributeMap

displayServlet

protected transient Boolean displayServlet
Constructor Detail

JcmsJspAjaxContext

public JcmsJspAjaxContext()

JcmsJspAjaxContext

public JcmsJspAjaxContext(JcmsJspContext ctxt)
Method Detail

setJcmsContext

public void setJcmsContext(JcmsJspContext jcmsContext)
Description copied from class: AbstractJcmsAjaxContext
Sets the following values from values found in the specified JcmsJspContext.
Values are not retrieved from context if they have already been set through their setter. This method MUST be called when this object is created during the inital request (as opposed to other AJAX request occuring after).

Overrides:
setJcmsContext in class AbstractJcmsAjaxContext
Parameters:
jcmsContext - the JcmsJspContext

setAttribute

public void setAttribute(String key,
                         Object value)

getAttribute

public Object getAttribute(String key)

removeAttribute

public Object removeAttribute(String key)

writeObject

protected void writeObject(Map<String,Object> map)
Overrides:
writeObject in class AbstractJcmsAjaxContext

readObject

protected void readObject(Map<String,Object> map,
                          javax.servlet.http.HttpServletRequest request)
Overrides:
readObject in class AbstractJcmsAjaxContext

debug

public boolean debug(String key)
Overrides:
debug in class AbstractJcmsAjaxContext


Copyright © 2001-2010 Jalios SA. All Rights Reserved.