Class MCRServletJob

java.lang.Object
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$ $Date$
Author:
Detlev Degenhardt
  • Constructor Summary

    Constructors
    Constructor
    Description
    MCRServletJob(jakarta.servlet.http.HttpServletRequest theRequest, jakarta.servlet.http.HttpServletResponse theResponse)
    The constructor takes the given objects and stores them in private objects.
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.servlet.http.HttpServletRequest
    returns the HttpServletRequest object
    jakarta.servlet.http.HttpServletResponse
    returns the HttpServletResponse object
    boolean
    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 Details

    • MCRServletJob

      public MCRServletJob(jakarta.servlet.http.HttpServletRequest theRequest, jakarta.servlet.http.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 Details

    • getRequest

      public jakarta.servlet.http.HttpServletRequest getRequest()
      returns the HttpServletRequest object
    • getResponse

      public jakarta.servlet.http.HttpServletResponse getResponse()
      returns the HttpServletResponse object
    • isLocal

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