com.ibm.websphere.xd.servlet
Class ServletHelper

java.lang.Object
  extended by com.ibm.websphere.xd.servlet.ServletHelper

public class ServletHelper
extends java.lang.Object

For WebSphere Extended Deployment 6.0.1, this class exists solely to expose its one method.


Constructor Summary
ServletHelper()
           
 
Method Summary
static void applicationTimedOut(javax.servlet.http.HttpServletResponse response)
          A servlet that internally detects and handles a timeout can call this method to indicate that this happened.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletHelper

public ServletHelper()
Method Detail

applicationTimedOut

public static void applicationTimedOut(javax.servlet.http.HttpServletResponse response)
                                throws java.lang.IllegalStateException
A servlet that internally detects and handles a timeout can call this method to indicate that this happened. Doing so may enable better performance management by WebSphere Extended Deployment. This method must be called before the response is committed. Calling ServletResponse.reset() cancels the effect of this method.

Parameters:
response - the HttpServletResponse that includes the effects of the application timeout
Throws:
java.lang.IllegalStateException - if invoked after the response is committed