Package org.apache.tiles.request
Interface DispatchRequest
- All Superinterfaces:
Request
- All Known Implementing Classes:
AbstractClientRequest
,AbstractRequest
,AbstractViewRequest
,DispatchRequestWrapper
,FreemarkerRequest
,JspRequest
,ServletRequest
,VelocityRequest
Encapsulation of request information.
-
Field Summary
Fields inherited from interface org.apache.tiles.request.Request
APPLICATION_SCOPE, REQUEST_SCOPE
-
Method Summary
Methods inherited from interface org.apache.tiles.request.Request
getApplicationContext, getAvailableScopes, getContext, getHeader, getHeaderValues, getOutputStream, getParam, getParamValues, getPrintWriter, getRequestLocale, getResponseHeaders, getWriter, isResponseCommitted, isUserInRole
-
Method Details
-
dispatch
Dispatches the request to a specified path.- Parameters:
path
- The path to dispatch to.- Throws:
IOException
- If something goes wrong during dispatching.
-
include
Includes the response from the specified URL in the current response output.- Parameters:
path
- The path to include.- Throws:
IOException
- If something goes wrong during inclusion.
-
setContentType
Sets the content type when rendering the result.- Parameters:
contentType
- The content type. It should follow the specifications from W3C about content types.
-