Package 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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.tangosol.util.Base
Base.LoggingWriter
-
-
Constructor Summary
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.servlet.http.HttpServletRequest
getHttpServletRequest()
Get the wrapped HttpServletRequest.javax.servlet.http.HttpServletResponse
getHttpServletResponse()
Get the wrapped HttpServletResponse.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
-
Methods inherited from class com.tangosol.util.Base
azzert, azzert, azzert, azzertFailed, breakLines, breakLines, capitalize, checkNotEmpty, checkNotNull, checkRange, computeSafeWaitTime, decimalValue, dup, dup, ensureBigDecimal, ensureClassLoader, ensureRuntimeException, ensureRuntimeException, equals, equalsDeep, err, err, err, err, err, escape, formatDateTime, getCallerStackFrame, getCommonMonitor, getCommonMonitor, getCommonMonitor, getContextClassLoader, getContextClassLoader, getDeepMessage, getErr, getLastSafeTimeMillis, getLog, getMaxDecDigits, getMaxHexDigits, getOriginalException, getOut, getProcessRandom, getRandom, getRandomBinary, getRandomBinary, getRandomString, getSafeTimeMillis, getStackFrame, getStackFrames, getStackTrace, getStackTrace, getStackTrace, getThreadFactory, getTimeZone, getUpTimeMillis, hashCode, hexValue, indentString, indentString, isDecimal, isHex, isLogEcho, isOctal, log, log, log, log, log, makeInteger, makeLong, makeThread, mergeArray, mergeBooleanArray, mergeByteArray, mergeCharArray, mergeDoubleArray, mergeFloatArray, mergeIntArray, mergeLongArray, mod, mod, octalValue, out, out, out, out, out, pad, parseBandwidth, parseBandwidth, parseDelimitedString, parseHex, parseHex, parseMemorySize, parseMemorySize, parsePercentage, parseTime, parseTime, parseTimeNanos, parseTimeNanos, printStackTrace, randomize, randomize, randomize, randomize, read, read, read, read, read, read, read, replace, setErr, setLog, setLogEcho, setOut, sleep, toBandwidthString, toBandwidthString, toCharEscape, toCrc, toCrc, toCrc, toCrc, toCrc, toDecString, toDelimitedString, toDelimitedString, toDelimitedString, toDelimitedString, toHex, toHex, toHexDump, toHexEscape, toHexEscape, toHexEscape, toHexEscape, toHexString, toMemorySizeString, toMemorySizeString, toQuotedCharEscape, toQuotedStringEscape, toSqlString, toString, toString, toStringEscape, toUnicodeEscape, trace, trace, trace, trace, trace, trace, trace, trace, trace, truncateString, truncateString, wait
-
-
-
-
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 applicationreq
- the current HttpServletRequest objectres
- 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 classRequestContext
- Returns:
- a string representation of the object
-
-