Package com.tangosol.coherence.servlet
Class HttpRequestContext
java.lang.Object
com.tangosol.util.Base
com.tangosol.coherence.servlet.RequestContext
com.tangosol.coherence.servlet.HttpRequestContext
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 -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionHttpRequestContext(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
Modifier and TypeMethodDescriptionjavax.servlet.http.HttpServletRequestGet the wrapped HttpServletRequest.javax.servlet.http.HttpServletResponseGet the wrapped HttpServletResponse.toString()Returns a string representation of the object.Methods inherited from class com.tangosol.coherence.servlet.RequestContext
decReferenceCount, getDescription, getReferenceCount, getServletRequest, getServletResponse, getSessionHelper, incReferenceCount, unwrapServletRequestMethods 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, newHashMap, newHashMap, newHashSet, newHashSet, 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 Details
-
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 Details
-
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
Returns a string representation of the object.- Overrides:
toStringin classRequestContext- Returns:
- a string representation of the object
-