org.mycore.frontend.servlets
Class MCRServletJob

java.lang.Object
  extended by org.mycore.frontend.servlets.MCRServletJob

public class MCRServletJob
extends Object

This class simply is a container for objects needed during a Servlet session like the HttpServletRequest and HttpServeltResponse. The class provids only get-methods to return the objects set while constructing the job object.

Version:
$Revision: 14775 $ $Date: 2009-02-23 16:25:39 +0100 (Mon, 23 Feb 2009) $
Author:
Detlev Degenhardt

Constructor Summary
MCRServletJob(HttpServletRequest theRequest, HttpServletResponse theResponse)
          The constructor takes the given objects and stores them in private objects.
 
Method Summary
 HttpServletRequest getRequest()
          returns the HttpServletRequest object
 HttpServletResponse getResponse()
          returns the HttpServletResponse object
 boolean isLocal()
          returns true if the current http request was issued from the local host *
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MCRServletJob

public MCRServletJob(HttpServletRequest theRequest,
                     HttpServletResponse theResponse)
The constructor takes the given objects and stores them in private objects.

Parameters:
theRequest - the HttpServletRequest object for this servlet job
theResponse - the HttpServletResponse object for this servlet job
Method Detail

getRequest

public HttpServletRequest getRequest()
returns the HttpServletRequest object


getResponse

public HttpServletResponse getResponse()
returns the HttpServletResponse object


isLocal

public boolean isLocal()
returns true if the current http request was issued from the local host *