public class SpringWebProcessingContextBuilder extends WebProcessingContextBuilder
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_APPLICATION_CONTEXT_CONFIG_LOCATION |
static String |
DEFAULT_BINDING_MODEL_VARIABLE_NAME |
DEFAULT_LOCALE| Constructor and Description |
|---|
SpringWebProcessingContextBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.web.context.WebApplicationContext |
createApplicationContext(ITest test,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext,
Locale locale,
Map<String,Object> variables) |
protected void |
doAdditionalVariableProcessing(ITest test,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext,
Locale locale,
Map<String,Object> variables) |
protected org.thymeleaf.context.IWebContext |
doCreateWebContextInstance(ITest test,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext,
Locale locale,
Map<String,Object> variables) |
String |
getApplicationContextConfigLocation() |
boolean |
getShareAppContextForAllTests() |
protected void |
initBinder(String bindingVariableName,
Object bindingObject,
ITest test,
org.springframework.validation.DataBinder dataBinder,
Locale locale,
Map<String,Object> variables) |
protected void |
initBindingResult(String bindingVariableName,
Object bindingObject,
ITest test,
org.springframework.validation.BindingResult bindingResult,
Locale locale,
Map<String,Object> variables) |
protected void |
initSpring(org.springframework.context.ApplicationContext applicationContext,
ITest test,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext,
Locale locale,
Map<String,Object> variables) |
void |
setApplicationContextConfigLocation(String applicationContextConfigLocation) |
void |
setShareAppContextForAllTests(boolean shareAppContextForAllTests) |
buildpublic static final String DEFAULT_BINDING_MODEL_VARIABLE_NAME
public static final String DEFAULT_APPLICATION_CONTEXT_CONFIG_LOCATION
public String getApplicationContextConfigLocation()
public void setApplicationContextConfigLocation(String applicationContextConfigLocation)
public boolean getShareAppContextForAllTests()
public void setShareAppContextForAllTests(boolean shareAppContextForAllTests)
protected final void doAdditionalVariableProcessing(ITest test, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext servletContext, Locale locale, Map<String,Object> variables)
doAdditionalVariableProcessing in class WebProcessingContextBuilderprotected org.thymeleaf.context.IWebContext doCreateWebContextInstance(ITest test, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext servletContext, Locale locale, Map<String,Object> variables)
doCreateWebContextInstance in class WebProcessingContextBuilderprotected void initBinder(String bindingVariableName, Object bindingObject, ITest test, org.springframework.validation.DataBinder dataBinder, Locale locale, Map<String,Object> variables)
protected void initBindingResult(String bindingVariableName, Object bindingObject, ITest test, org.springframework.validation.BindingResult bindingResult, Locale locale, Map<String,Object> variables)
protected org.springframework.web.context.WebApplicationContext createApplicationContext(ITest test, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext servletContext, Locale locale, Map<String,Object> variables)
protected void initSpring(org.springframework.context.ApplicationContext applicationContext,
ITest test,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext,
Locale locale,
Map<String,Object> variables)
Copyright © 2015 The THYMELEAF team. All rights reserved.