public class DefaultSiteContextRuleFilter extends GenericService implements SiteContextRuleFilter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
SERVICE_INFO_KEY
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
DefaultSiteContextRuleFilter()
Constructs an instanceof DefaultSiteContextRuleFilter
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
filter(DynamoHttpServletRequest pRequest,
SiteSessionManager pSiteSessionManager)
return a default SiteContext name
|
java.lang.String |
getDefaultSiteId()
get DefaultSiteId
|
boolean |
isEnabled()
get Enabled
|
void |
setDefaultSiteId(java.lang.String pDefaultSiteId)
set DefaultSiteId
|
void |
setEnabled(boolean pEnabled)
set Enabled
|
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public DefaultSiteContextRuleFilter()
public void setDefaultSiteId(java.lang.String pDefaultSiteId)
pDefaultSiteId
- the DefaultSiteIdpublic java.lang.String getDefaultSiteId()
public void setEnabled(boolean pEnabled)
pEnabled
- the Enabledpublic boolean isEnabled()
public java.lang.String filter(DynamoHttpServletRequest pRequest, SiteSessionManager pSiteSessionManager)
filter
in interface SiteContextRuleFilter
pRequest
- the request objectpSiteSessionManager
- the site session manager for the current session