|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tiles.context.TilesRequestContextWrapper
org.apache.tiles.velocity.context.VelocityTilesRequestContext
public class VelocityTilesRequestContext
The implementation of the Tiles request context specific for Velocity.
| Constructor Summary | |
|---|---|
VelocityTilesRequestContext(TilesRequestContext enclosedRequest,
org.apache.velocity.context.Context ctx,
java.io.Writer writer)
Constructor. |
|
| Method Summary | |
|---|---|
void |
dispatch(java.lang.String path)
|
java.io.PrintWriter |
getPrintWriter()
|
java.lang.Object[] |
getRequestObjects()
|
java.io.Writer |
getWriter()
|
void |
include(java.lang.String path)
|
| Methods inherited from class org.apache.tiles.context.TilesRequestContextWrapper |
|---|
getApplicationContext, getHeader, getHeaderValues, getOutputStream, getParam, getParamValues, getRequest, getRequestLocale, getRequestScope, getResponse, getSessionScope, getWrappedRequest, isResponseCommitted, isUserInRole, setContentType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VelocityTilesRequestContext(TilesRequestContext enclosedRequest,
org.apache.velocity.context.Context ctx,
java.io.Writer writer)
enclosedRequest - The request that exposes non-Velocity specific propertiesctx - The Velocity current context.writer - The writer to use to render the response. It may be null, if not necessary.| Method Detail |
|---|
public void dispatch(java.lang.String path)
throws java.io.IOException
dispatch in interface TilesRequestContextdispatch in class TilesRequestContextWrapperjava.io.IOException
public void include(java.lang.String path)
throws java.io.IOException
include in interface TilesRequestContextinclude in class TilesRequestContextWrapperjava.io.IOException
public java.io.PrintWriter getPrintWriter()
throws java.io.IOException
getPrintWriter in interface TilesRequestContextgetPrintWriter in class TilesRequestContextWrapperjava.io.IOException
public java.io.Writer getWriter()
throws java.io.IOException
getWriter in interface TilesRequestContextgetWriter in class TilesRequestContextWrapperjava.io.IOExceptionpublic java.lang.Object[] getRequestObjects()
getRequestObjects in interface TilesRequestContextgetRequestObjects in class TilesRequestContextWrapper
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||