org.ofbiz.webapp.control
Class ProtectViewWorker

java.lang.Object
  extended by org.ofbiz.webapp.control.ProtectViewWorker

public class ProtectViewWorker
extends java.lang.Object

Common Workers


Constructor Summary
ProtectViewWorker()
           
 
Method Summary
static java.lang.String checkProtectedView(HttpServletRequest request, HttpServletResponse response)
          An HTTP WebEvent handler that checks to see if an userLogin should be tarpitted The decision is made in regard of number of hits in last period of time
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtectViewWorker

public ProtectViewWorker()
Method Detail

checkProtectedView

public static java.lang.String checkProtectedView(HttpServletRequest request,
                                                  HttpServletResponse response)
An HTTP WebEvent handler that checks to see if an userLogin should be tarpitted The decision is made in regard of number of hits in last period of time

Parameters:
request - The HTTP request object for the current JSP or Servlet request.
response - The HTTP response object for the current JSP or Servlet request.
Returns:
String