|
||||||||||
| 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.AbstractClientRequest
public abstract class AbstractClientRequest
Base class for "client" requests, i.e. requests that come unchanged by the container, such as ServletRequest and PortletRequest.
| Field Summary |
|---|
| Fields inherited from class org.apache.tiles.request.AbstractRequest |
|---|
FORCE_INCLUDE_ATTRIBUTE_NAME |
| Constructor Summary | |
|---|---|
AbstractClientRequest(ApplicationContext applicationContext)
Constructor. |
|
| Method Summary | |
|---|---|
void |
dispatch(String path)
Dispatches the request to a specified path. |
protected abstract void |
doForward(String path)
Forwards to a path. |
protected abstract void |
doInclude(String path)
Includes the result of a path. |
ApplicationContext |
getApplicationContext()
Returns the associated application context. |
Map<String,Object> |
getApplicationScope()
Returns the application scope. |
void |
include(String path)
Includes the response from the specified URL in the current response output. |
| 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 |
| Methods inherited from interface org.apache.tiles.request.DispatchRequest |
|---|
setContentType |
| Methods inherited from interface org.apache.tiles.request.Request |
|---|
getAvailableScopes, getContext, getHeader, getHeaderValues, getOutputStream, getParam, getParamValues, getPrintWriter, getRequestLocale, getResponseHeaders, getWriter, isResponseCommitted, isUserInRole |
| Constructor Detail |
|---|
public AbstractClientRequest(ApplicationContext applicationContext)
applicationContext - The application context.| Method Detail |
|---|
public void dispatch(String path)
throws IOException
DispatchRequest
path - The path to dispatch to.
IOException - If something goes wrong during dispatching.
public void include(String path)
throws IOException
DispatchRequest
path - The path to include.
IOException - If something goes wrong during inclusion.public ApplicationContext getApplicationContext()
Request
public Map<String,Object> getApplicationScope()
protected abstract void doForward(String path)
throws IOException
path - The path to forward to.
IOException - If something goes wrong when forwarding.
protected abstract void doInclude(String path)
throws IOException
path - The path to forward to.
IOException - If something goes wrong when forwarding.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||