|
||||||||||
| 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.jsp.JspRequest
public class JspRequest
Context implementation used for executing tiles within a jsp tag library.
| Field Summary |
|---|
| Fields inherited from class org.apache.tiles.request.AbstractRequest |
|---|
FORCE_INCLUDE_ATTRIBUTE_NAME |
| Constructor Summary | |
|---|---|
JspRequest(DispatchRequest enclosedRequest,
javax.servlet.jsp.PageContext pageContext)
Constructor. |
|
| Method Summary | |
|---|---|
static JspRequest |
createServletJspRequest(ApplicationContext applicationContext,
javax.servlet.jsp.PageContext pageContext)
Creates a JSP request. |
protected void |
doInclude(String path)
|
Map<String,Object> |
getApplicationScope()
Returns the application scope. |
List<String> |
getAvailableScopes()
|
Map<String,Object> |
getContext(String scope)
|
javax.servlet.jsp.PageContext |
getPageContext()
Returns the page context that originated the request. |
Map<String,Object> |
getPageScope()
Returns the page scope. |
PrintWriter |
getPrintWriter()
|
Map<String,Object> |
getRequestScope()
Returns the request scope. |
Map<String,Object> |
getSessionScope()
Returns the session scope. |
Writer |
getWriter()
|
| Methods inherited from class org.apache.tiles.request.AbstractViewRequest |
|---|
dispatch, include |
| Methods inherited from class org.apache.tiles.request.DispatchRequestWrapper |
|---|
getApplicationContext, getHeader, getHeaderValues, getOutputStream, getParam, getParamValues, getRequestLocale, 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 JspRequest(DispatchRequest enclosedRequest,
javax.servlet.jsp.PageContext pageContext)
enclosedRequest - The request that is wrapped here.pageContext - The page context to use.| Method Detail |
|---|
public static JspRequest createServletJspRequest(ApplicationContext applicationContext,
javax.servlet.jsp.PageContext pageContext)
applicationContext - The application context.pageContext - The page context.
public List<String> getAvailableScopes()
getAvailableScopes in interface RequestgetAvailableScopes in class DispatchRequestWrapper
protected void doInclude(String path)
throws IOException
doInclude in class AbstractViewRequestIOExceptionpublic PrintWriter getPrintWriter()
getPrintWriter in interface RequestgetPrintWriter in class DispatchRequestWrapperpublic Writer getWriter()
getWriter in interface RequestgetWriter in class DispatchRequestWrapperpublic Map<String,Object> getPageScope()
public Map<String,Object> getRequestScope()
public Map<String,Object> getSessionScope()
public Map<String,Object> getApplicationScope()
public javax.servlet.jsp.PageContext getPageContext()
public 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 | |||||||||