public class RequestResponseKey extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Check for the equality of objects
|
HttpServletRequest |
getRequest()
Get the request object associated with the HTTP request
|
HttpServletResponse |
getResponse()
Get the response object associated with the HTTP request
|
long |
getTimeout()
Get the timeout value
|
int |
hashCode()
Get the hashcode
|
boolean |
isCallDoResponse()
Indicates if doResponse will be called on servlet instance during notify
|
boolean |
isImmediateSendOnDoRequestFalse()
Indicates if response will be committed immediately when doRequest() returns false
|
boolean |
isValid()
Indicates whether this object is valid or not.
|
void |
setCallDoResponse(boolean isCallDoResponse)
Set to false to prevent doResponse callback on servlet instance
|
void |
setImmediateSendOnDoRequestFalse(boolean isImmediateSendOnDoRequestFalse)
Set to false to allow any existing servlet filters to finish processing before
response is sent when doRequest() returns false;
|
void |
setTimeout(int timeout)
Set the timeout method in milliseconds
|
public void setTimeout(int timeout)
timeout
- - timeout value in millisecondspublic long getTimeout()
public boolean isValid()
public void setCallDoResponse(boolean isCallDoResponse)
isCallDoResponse
- flag indicating if doResponse will be called during notifypublic boolean isCallDoResponse()
public void setImmediateSendOnDoRequestFalse(boolean isImmediateSendOnDoRequestFalse)
isImmediateSendOnDoRequestFalse
- flag indicating whether response is immediately
sent from AbstractAsyncServlet.doRequest()public boolean isImmediateSendOnDoRequestFalse()
public HttpServletRequest getRequest()
public HttpServletResponse getResponse()
public int hashCode()