public class ServletConfigWrapper extends Base implements javax.servlet.ServletConfig
Base.LoggingWriter, Base.StackFrame
Constructor and Description |
---|
ServletConfigWrapper(SessionHelper helper, javax.servlet.ServletConfig cfg)
Construct a Coherence ServletConfig that wraps the app server's ServletConfig object.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getDescription()
Returns a string representation of this object's attributes.
|
String |
getInitParameter(String sName)
Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.
|
Enumeration |
getInitParameterNames()
Returns the names of the servlet's initialization parameters as an Enumeration of String objects, or an empty Enumeration if the servlet has no initialization parameters.
|
protected javax.servlet.ServletConfig |
getServletConfig()
Get the wrapped ServletConfig.
|
javax.servlet.ServletContext |
getServletContext()
Returns a reference to the ServletContext in which the caller is executing.
|
String |
getServletName()
Returns the name of this servlet instance.
|
protected SessionHelper |
getSessionHelper()
Get the SessionHelper for this ServletConfig wrapper.
|
String |
toString()
Returns a string representation of the object.
|
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, getRandom, getRandomBinary, getRandomBinary, getRandomString, getSafeTimeMillis, getStackFrame, getStackFrames, getStackTrace, getStackTrace, getThreadFactory, getTimeZone, getUpTimeMillis, hashCode, hexValue, indentString, indentString, isDecimal, isHex, isLogEcho, isOctal, log, log, log, log, log, makeInteger, makeLong, makeThread, 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, 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
public ServletConfigWrapper(SessionHelper helper, javax.servlet.ServletConfig cfg)
helper
- the application's session helpercfg
- the appliation server's ServletConfig objectpublic String getServletName()
getServletName
in interface javax.servlet.ServletConfig
public javax.servlet.ServletContext getServletContext()
getServletContext
in interface javax.servlet.ServletConfig
public String getInitParameter(String sName)
getInitParameter
in interface javax.servlet.ServletConfig
sName
- a String specifying the name of the initialization parameterpublic Enumeration getInitParameterNames()
getInitParameterNames
in interface javax.servlet.ServletConfig
public String toString()
protected String getDescription()
protected SessionHelper getSessionHelper()
protected javax.servlet.ServletConfig getServletConfig()