|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DispatchRequest
Encapsulation of request information.
Method Summary | |
---|---|
void |
dispatch(String path)
Dispatches the request to a specified path. |
void |
include(String path)
Includes the response from the specified URL in the current response output. |
void |
setContentType(String contentType)
Sets the content type when rendering the result. |
Methods inherited from interface org.apache.tiles.request.Request |
---|
getApplicationContext, getAvailableScopes, getContext, getHeader, getHeaderValues, getOutputStream, getParam, getParamValues, getPrintWriter, getRequestLocale, getResponseHeaders, getWriter, isResponseCommitted, isUserInRole |
Method Detail |
---|
void dispatch(String path) throws IOException
path
- The path to dispatch to.
IOException
- If something goes wrong during dispatching.void include(String path) throws IOException
path
- The path to include.
IOException
- If something goes wrong during inclusion.void setContentType(String contentType)
contentType
- The content type. It should follow the specifications
from W3C about content types.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |