public class RequestAwareTool extends Object
| Constructor and Description | 
|---|
RequestAwareTool()  | 
| Modifier and Type | Method and Description | 
|---|---|
javax.servlet.http.HttpServletRequest | 
getRequest()  | 
javax.servlet.http.HttpServletResponse | 
getResponse()  | 
javax.servlet.ServletContext | 
getServletContext()  | 
void | 
setRequest(javax.servlet.http.HttpServletRequest request)
Sets the current  
HttpServletRequest. | 
void | 
setResponse(javax.servlet.http.HttpServletResponse response)
Sets the current  
HttpServletResponse. | 
void | 
setServletContext(javax.servlet.ServletContext application)
Sets the current  
ServletContext. | 
public javax.servlet.http.HttpServletRequest getRequest()
public javax.servlet.http.HttpServletResponse getResponse()
public javax.servlet.ServletContext getServletContext()
public void setRequest(javax.servlet.http.HttpServletRequest request)
HttpServletRequest. This is required for this tool to operate and
 will throw a NullPointerException if this is not set or is set to null.request - the requestpublic void setResponse(javax.servlet.http.HttpServletResponse response)
HttpServletResponse. This is required for this tool to operate and
 will throw a NullPointerException if this is not set or is set to null.response - the responsepublic void setServletContext(javax.servlet.ServletContext application)
ServletContext. This is required for this tool to operate and will
 throw a NullPointerException if this is not set or is set to null.application - the servlet contextCopyright © 2019 Communote team. All rights reserved.