org.springframework.extensions.surf.support
Class DefaultRequestContext

java.lang.Object
  extended by org.springframework.extensions.surf.support.BaseFactoryBean
      extended by org.springframework.extensions.surf.support.ThreadLocalRequestContext
          extended by org.springframework.extensions.surf.support.AbstractRequestContext
              extended by org.springframework.extensions.surf.support.DefaultRequestContext
All Implemented Interfaces:
Serializable, RequestContext

public class DefaultRequestContext
extends AbstractRequestContext

Default implementation of a request context object that extends from AbstractRequestContext and doesn't introduce any overrides.

Author:
muzquiano, kevinr
See Also:
AbstractRequestContext, RequestContext, Serialized Form

Field Summary
 
Fields inherited from class org.springframework.extensions.surf.support.AbstractRequestContext
components, currentFormatId, currentPage, currentResource, currentTemplate, id, idCounter, linkBuilder, model, parametersMap, request, rootPage, SESSION_CURRENT_THEME, SESSION_CURRENT_THEME_ID, siteConfiguration, storeId, uri, user, VALUE_HEAD_TAGS, valuesMap, viewModel
 
Fields inherited from interface org.springframework.extensions.surf.RequestContext
ATTR_REQUEST_CONTEXT, DEBUG_MODE_VALUE_COMPONENTS, VALUE_CREDENTIAL_VAULT, VALUE_IDENTITY_VAULT
 
Constructor Summary
DefaultRequestContext(WebFrameworkServiceRegistry serviceRegistry, javax.servlet.http.HttpServletRequest request)
          Construction
 
Method Summary
 
Methods inherited from class org.springframework.extensions.surf.support.AbstractRequestContext
getCredentialVault, getCurrentObject, getCurrentObjectId, getFormatId, getId, getLinkBuilder, getModel, getPage, getPageId, getPageTitle, getParameter, getParameters, getRenderingComponents, getRequest, getRequestContent, getRequestContentType, getRequestMethod, getRootPage, getSiteConfiguration, getTemplate, getTemplateId, getTheme, getThemeId, getUri, getUser, getUserId, getValue, getValuesMap, getViewModel, getWebsiteTitle, hasParameter, hasValue, removeValue, setCurrentObject, setFormatId, setModel, setPage, setRenderingComponent, setTemplate, setThemeId, setUri, setUser, setValue, setViewModel, toString
 
Methods inherited from class org.springframework.extensions.surf.support.ThreadLocalRequestContext
getRequestContext, release
 
Methods inherited from class org.springframework.extensions.surf.support.BaseFactoryBean
getResourceService, getServiceRegistry, getWebFrameworkConfiguration, getWebFrameworkManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.springframework.extensions.surf.RequestContext
getServiceRegistry
 

Constructor Detail

DefaultRequestContext

public DefaultRequestContext(WebFrameworkServiceRegistry serviceRegistry,
                             javax.servlet.http.HttpServletRequest request)
Construction

Parameters:
request - The HttpServletRequest this context is related too


Copyright © 2009 SpringSource, Inc. All Rights Reserved.