Oracle® Coherence Java API Reference
v3.5

E14977-01

com.tangosol.coherence.servlet
Class HttpRequestContext

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.coherence.servlet.RequestContext
          extended by com.tangosol.coherence.servlet.HttpRequestContext

public class HttpRequestContext
extends RequestContext

Request context information for an HTTP Servlet request.

Version:
Coherence 2.3
Author:
cp 2003.09.13

Constructor Summary
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.
 
Method Summary
 javax.servlet.http.HttpServletRequest getHttpServletRequest()
          Get the wrapped HttpServletRequest.
 javax.servlet.http.HttpServletResponse getHttpServletResponse()
          Get the wrapped HttpServletResponse.
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class com.tangosol.coherence.servlet.RequestContext
decReferenceCount, getDescription, getReferenceCount, getServletRequest, getServletResponse, getSessionHelper, incReferenceCount, unwrapServletRequest
 

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 java.lang.String toString()
Returns a string representation of the object.

Overrides:
toString in class RequestContext
Returns:
a string representation of the object

Oracle® Coherence Java API Reference
v3.5

E14977-01

Copyright © 2000, 2009, Oracle. All rights reserved.