org.thymeleaf.spring3.context
Class SpringWebContext

Object
  extended by org.thymeleaf.context.AbstractContext
      extended by org.thymeleaf.context.WebContext
          extended by org.thymeleaf.spring3.context.SpringWebContext
All Implemented Interfaces:
org.thymeleaf.context.IContext, org.thymeleaf.context.IWebContext

public class SpringWebContext
extends org.thymeleaf.context.WebContext

Implementation of IContext meant for Spring MVC applications, extending WebContext and adding:

Since:
1.0
Author:
Daniel Fernández

Field Summary
static String BEANS_VARIABLE_NAME
           
 
Fields inherited from class org.thymeleaf.context.WebContext
APPLICATION_VARIABLE_NAME, PARAM_VARIABLE_NAME, SESSION_VARIABLE_NAME
 
Fields inherited from class org.thymeleaf.context.AbstractContext
EXEC_INFO_VARIABLE_NAME
 
Constructor Summary
SpringWebContext(javax.servlet.http.HttpServletRequest request, Locale locale, org.springframework.context.ApplicationContext appctx)
           
SpringWebContext(javax.servlet.http.HttpServletRequest request, Locale locale, Map<String,?> variables, org.springframework.context.ApplicationContext appctx)
           
 
Method Summary
 org.springframework.context.ApplicationContext getApplicationContext()
           
 
Methods inherited from class org.thymeleaf.context.WebContext
buildContextExecutionInfo, getApplicationAttributes, getContextPath, getRequestAttributes, getRequestParameters, getServletContext, getSessionAttributes, getSessionID, isSessionIdFromCookie
 
Methods inherited from class org.thymeleaf.context.AbstractContext
addContextExecutionInfo, clearVariables, getLocale, getVariables, setLocale, setVariable, setVariables
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.thymeleaf.context.IContext
addContextExecutionInfo, getLocale, getVariables
 

Field Detail

BEANS_VARIABLE_NAME

public static final String BEANS_VARIABLE_NAME
See Also:
Constant Field Values
Constructor Detail

SpringWebContext

public SpringWebContext(javax.servlet.http.HttpServletRequest request,
                        Locale locale,
                        org.springframework.context.ApplicationContext appctx)

SpringWebContext

public SpringWebContext(javax.servlet.http.HttpServletRequest request,
                        Locale locale,
                        Map<String,?> variables,
                        org.springframework.context.ApplicationContext appctx)
Method Detail

getApplicationContext

public org.springframework.context.ApplicationContext getApplicationContext()


Copyright © 2011 The THYMELEAF team. All Rights Reserved.