|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.svc.clicktoconnect.LandingPageHandler
atg.svc.clicktoconnect.URIMatchLandingPageHandler
public class URIMatchLandingPageHandler
Generates a LandingPage when the C2C Referrer URL starts with any of the
values configured by the uriMatches
property.
By default the configured LandingPage
is returned when a match
is found.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
protected java.lang.String[] |
mURIMatches
|
Fields inherited from class atg.svc.clicktoconnect.LandingPageHandler |
---|
mEnvironmentTools, mLandingPage |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
URIMatchLandingPageHandler()
|
Method Summary | |
---|---|
protected LandingPage |
createLandingPage(C2CRequestData pC2CRequestData)
Returns the configured LandingPage |
LandingPage |
generateLandingPage(C2CRequestData pC2CRequestData)
If the referrer url starts with the uriMatch property
createLandingPage is executed to create the
LandingPage object. |
java.lang.String[] |
getURIMatches()
Returns the array of URI strings that are used to determine if this handler should create a landing page. |
protected boolean |
isURIMatch(C2CRequestData pC2CRequestData)
Returns true if the referrer url starts with the value specified by the uriMatch property. |
void |
setURIMatches(java.lang.String[] pMatches)
|
Methods inherited from class atg.svc.clicktoconnect.LandingPageHandler |
---|
getEnvironmentTools, getLandingPage, getReferrerParameter, setEnvironmentTools, setLandingPage |
Methods inherited from class atg.nucleus.GenericService |
---|
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASS_VERSION
protected java.lang.String[] mURIMatches
Constructor Detail |
---|
public URIMatchLandingPageHandler()
Method Detail |
---|
public java.lang.String[] getURIMatches()
public void setURIMatches(java.lang.String[] pMatches)
protected boolean isURIMatch(C2CRequestData pC2CRequestData)
uriMatch
property.
pC2CRequestData
-
protected LandingPage createLandingPage(C2CRequestData pC2CRequestData)
LandingPage
pC2CRequestData
-
public LandingPage generateLandingPage(C2CRequestData pC2CRequestData)
uriMatch
property
createLandingPage
is executed to create the
LandingPage
object.
generateLandingPage
in class LandingPageHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |