public class StrutsContext
extends org.thymeleaf.context.AbstractContext
implements org.thymeleaf.context.IWebContext
WebContext to provide access to the
Struts action.
For actions that implement the LocaleProvider
interface (i.e., actions that extend ActionSupport), the action's locale will
be used in this context. Otherwise, the context will default to the
request's locale.| 修飾子とタイプ | フィールドと説明 |
|---|---|
static String |
ACTION_VARIABLE_NAME
Name of the variable that contains the action.
|
| コンストラクタと説明 |
|---|
StrutsContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext,
Locale locale,
Map<String,Object> variables) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
javax.servlet.http.HttpServletRequest |
getRequest() |
javax.servlet.http.HttpServletResponse |
getResponse() |
javax.servlet.ServletContext |
getServletContext() |
javax.servlet.http.HttpSession |
getSession() |
clearVariables, containsVariable, getLocale, getVariable, getVariableNames, removeVariable, setLocale, setVariable, setVariablespublic javax.servlet.http.HttpServletRequest getRequest()
getRequest インタフェース内 org.thymeleaf.context.IWebContextpublic javax.servlet.http.HttpSession getSession()
getSession インタフェース内 org.thymeleaf.context.IWebContextpublic javax.servlet.http.HttpServletResponse getResponse()
getResponse インタフェース内 org.thymeleaf.context.IWebContextpublic javax.servlet.ServletContext getServletContext()
getServletContext インタフェース内 org.thymeleaf.context.IWebContextCopyright © 2017. All rights reserved.