Class FilterConfigWrapper
java.lang.Object
com.tangosol.util.Base
com.tangosol.coherence.servlet.api23.FilterConfigWrapper
- All Implemented Interfaces:
javax.servlet.FilterConfig
An implementation of the FilterConfig interface that provides for a
clustered ServletContext.
- Version:
- Coherence 2.3
- Author:
- cp 2003.09.24
-
Nested Class Summary
Nested classes/interfaces inherited from class com.tangosol.util.Base
Base.LoggingWriter -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionFilterConfigWrapper(SessionHelper helper, javax.servlet.FilterConfig cfg) Construct a Coherence FilterConfig that wraps the app server's FilterConfig object. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturns a string representation of this object's attributes.protected javax.servlet.FilterConfigGet the wrapped FilterConfig.Returns the filter-name of this filter as defined in the deployment descriptor.getInitParameter(String sName) Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.Returns the names of the filter's initialization parameters as an Enumeration of String objects, or an empty Enumeration if the filter has no initialization parameters.javax.servlet.ServletContextReturns a reference to the ServletContext in which the caller is executing.protected SessionHelperGet the SessionHelper for this FilterConfig wrapper.toString()Returns a string representation of the object.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, 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
-
FilterConfigWrapper
Construct a Coherence FilterConfig that wraps the app server's FilterConfig object.- Parameters:
helper- the application's session helpercfg- the appliation server's FilterConfig object
-
-
Method Details
-
getFilterName
Returns the filter-name of this filter as defined in the deployment descriptor.- Specified by:
getFilterNamein interfacejavax.servlet.FilterConfig- Returns:
- the filter-name of this filter as defined in the deployment descriptor
-
getServletContext
public javax.servlet.ServletContext getServletContext()Returns a reference to the ServletContext in which the caller is executing.- Specified by:
getServletContextin interfacejavax.servlet.FilterConfig- Returns:
- a ServletContext object, used by the caller to interact with its servlet container
-
getInitParameter
Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.- Specified by:
getInitParameterin interfacejavax.servlet.FilterConfig- Parameters:
sName- a String specifying the name of the initialization parameter- Returns:
- a String containing the value of the initialization parameter
-
getInitParameterNames
Returns the names of the filter's initialization parameters as an Enumeration of String objects, or an empty Enumeration if the filter has no initialization parameters.- Specified by:
getInitParameterNamesin interfacejavax.servlet.FilterConfig- Returns:
- an Enumeration of String objects containing the names of the filter's initialization parameters
-
toString
Returns a string representation of the object. -
getDescription
Returns a string representation of this object's attributes.- Returns:
- a string representation of this object's attributes
-
getSessionHelper
Get the SessionHelper for this FilterConfig wrapper.- Returns:
- the SessionHelper for this FilterConfig wrapper
-
getFilterConfig
protected javax.servlet.FilterConfig getFilterConfig()Get the wrapped FilterConfig.- Returns:
- the wrapped FilterConfig
-