|
||||||||||
| 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
org.apache.tiles.request.servlet.ServletRequest
public class ServletRequest
Servlet-based implementation of the TilesApplicationContext interface.
| Field Summary |
|---|
| Fields inherited from class org.apache.tiles.request.AbstractRequest |
|---|
FORCE_INCLUDE_ATTRIBUTE_NAME |
| Constructor Summary | |
|---|---|
ServletRequest(ApplicationContext applicationContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Creates a new instance of ServletTilesRequestContext. |
|
| Method Summary | |
|---|---|
void |
doForward(String path)
|
void |
doInclude(String path)
|
List<String> |
getAvailableScopes()
|
Map<String,Object> |
getContext(String scope)
|
Map<String,String> |
getHeader()
|
Map<String,String[]> |
getHeaderValues()
|
OutputStream |
getOutputStream()
|
Map<String,String> |
getParam()
|
Map<String,String[]> |
getParamValues()
|
PrintWriter |
getPrintWriter()
|
javax.servlet.http.HttpServletRequest |
getRequest()
|
Locale |
getRequestLocale()
|
Map<String,Object> |
getRequestScope()
|
javax.servlet.http.HttpServletResponse |
getResponse()
|
Addable<String> |
getResponseHeaders()
|
Map<String,Object> |
getSessionScope()
|
Writer |
getWriter()
|
boolean |
isResponseCommitted()
|
boolean |
isUserInRole(String role)
|
void |
setContentType(String contentType)
|
| Methods inherited from class org.apache.tiles.request.AbstractClientRequest |
|---|
dispatch, getApplicationContext, getApplicationScope, include |
| 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 ServletRequest(ApplicationContext applicationContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
applicationContext - The application context.request - The request object.response - The response object.| Method Detail |
|---|
public Map<String,String> getHeader()
public Addable<String> getResponseHeaders()
public Map<String,String[]> getHeaderValues()
public Map<String,String> getParam()
public Map<String,String[]> getParamValues()
public Map<String,Object> getContext(String scope)
public Map<String,Object> getRequestScope()
public Map<String,Object> getSessionScope()
public List<String> getAvailableScopes()
public void doForward(String path)
throws IOException
doForward in class AbstractClientRequestIOException
public void doInclude(String path)
throws IOException
doInclude in class AbstractClientRequestIOException
public OutputStream getOutputStream()
throws IOException
IOException
public Writer getWriter()
throws IOException
IOException
public PrintWriter getPrintWriter()
throws IOException
IOExceptionpublic boolean isResponseCommitted()
public void setContentType(String contentType)
public Locale getRequestLocale()
public javax.servlet.http.HttpServletRequest getRequest()
public javax.servlet.http.HttpServletResponse getResponse()
public boolean isUserInRole(String role)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||