Package org.mycore.frontend.servlets
Class MCRServletJob
java.lang.Object
org.mycore.frontend.servlets.MCRServletJob
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
ConstructorDescriptionMCRServletJob
(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 TypeMethodDescriptionjakarta.servlet.http.HttpServletRequest
returns the HttpServletRequest objectjakarta.servlet.http.HttpServletResponse
returns the HttpServletResponse objectboolean
isLocal()
returns true if the current http request was issued from the local host *
-
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 jobtheResponse
- 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 *
-