|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tiles.request.AbstractRequest
org.apache.tiles.request.DispatchRequestWrapper
org.apache.tiles.request.AbstractViewRequest
org.apache.tiles.request.freemarker.FreemarkerRequest
public class FreemarkerRequest
The FreeMarker-specific request context.
| Field Summary |
|---|
| Fields inherited from class org.apache.tiles.request.AbstractRequest |
|---|
FORCE_INCLUDE_ATTRIBUTE_NAME |
| Constructor Summary | |
|---|---|
FreemarkerRequest(DispatchRequest enclosedRequest,
freemarker.core.Environment env)
Constructor. |
|
| Method Summary | |
|---|---|
static FreemarkerRequest |
createServletFreemarkerRequest(ApplicationContext applicationContext,
freemarker.core.Environment env)
Creates a new Freemarker request. |
List<String> |
getAvailableScopes()
|
Map<String,Object> |
getContext(String scope)
|
freemarker.core.Environment |
getEnvironment()
Returns the environment object. |
Map<String,Object> |
getPageScope()
Returns the page scope. |
PrintWriter |
getPrintWriter()
|
Locale |
getRequestLocale()
|
Writer |
getWriter()
|
| Methods inherited from class org.apache.tiles.request.AbstractViewRequest |
|---|
dispatch, doInclude, include |
| Methods inherited from class org.apache.tiles.request.DispatchRequestWrapper |
|---|
getApplicationContext, getHeader, getHeaderValues, getOutputStream, getParam, getParamValues, getResponseHeaders, getWrappedRequest, isResponseCommitted, isUserInRole, setContentType |
| Methods inherited from class org.apache.tiles.request.AbstractRequest |
|---|
isForceInclude, setForceInclude |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FreemarkerRequest(DispatchRequest enclosedRequest,
freemarker.core.Environment env)
enclosedRequest - The request that exposes non-FreeMarker specific propertiesenv - The FreeMarker environment.| Method Detail |
|---|
public static FreemarkerRequest createServletFreemarkerRequest(ApplicationContext applicationContext,
freemarker.core.Environment env)
applicationContext - The application context.env - The Freemarker's environment object.
public freemarker.core.Environment getEnvironment()
public Locale getRequestLocale()
getRequestLocale in interface RequestgetRequestLocale in class DispatchRequestWrapperpublic Map<String,Object> getPageScope()
public List<String> getAvailableScopes()
getAvailableScopes in interface RequestgetAvailableScopes in class DispatchRequestWrapperpublic PrintWriter getPrintWriter()
getPrintWriter in interface RequestgetPrintWriter in class DispatchRequestWrapperpublic Writer getWriter()
getWriter in interface RequestgetWriter in class DispatchRequestWrapperpublic Map<String,Object> getContext(String scope)
getContext in interface RequestgetContext in class DispatchRequestWrapper
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||