Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.tangosol.coherence.servlet
Class HttpRequestContext

    java.lang.Object
      com.tangosol.util.Base
          com.tangosol.coherence.servlet.RequestContext
              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

Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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