Class HttpRequestContext


  • public class HttpRequestContext
    extends RequestContext
    Request context information for an HTTP Servlet request.
    Version:
    Coherence 2.3
    Author:
    cp 2003.09.13
    • Constructor Detail

      • HttpRequestContext

        public HttpRequestContext​(SessionHelper helper,
                                  javax.servlet.http.HttpServletRequest req,
                                  javax.servlet.http.HttpServletResponse res)
        Construct an HttpRequestContext object to hold the state of the request and response.
        Parameters:
        helper - the SessionHelper for this application
        req - the current HttpServletRequest object
        res - the current HttpServletResponse object
    • Method Detail

      • getHttpServletRequest

        public javax.servlet.http.HttpServletRequest getHttpServletRequest()
        Get the wrapped HttpServletRequest.
        Returns:
        the wrapped HttpServletRequest
      • getHttpServletResponse

        public javax.servlet.http.HttpServletResponse getHttpServletResponse()
        Get the wrapped HttpServletResponse.
        Returns:
        the wrapped HttpServletResponse
      • toString

        public String toString()
        Returns a string representation of the object.
        Overrides:
        toString in class RequestContext
        Returns:
        a string representation of the object