public class UrlTemplateMapperImpl extends GenericService implements UrlTemplateMapper
UrlTemplate components.
 
 This list contains all the UrlTemplate components for a specific item descriptor name.
 A request will get the first template in the list that matches the browser type.
 
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
CLASS_VERSION
Class version string 
 | 
UrlTemplate | 
mDefaultTemplate
Default  
UrlTemplate component to be used when no match is found in the UrlTemplate array property. | 
UrlTemplate[] | 
mTemplates
Array of  
UrlTemplate components | 
SERVICE_INFO_KEYDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description | 
|---|
UrlTemplateMapperImpl()  | 
| Modifier and Type | Method and Description | 
|---|---|
UrlTemplate | 
getDefaultTemplate()
Getter method for the default template. 
 | 
UrlTemplate[] | 
getTemplates()
Getter method of array of  
UrlTemplate components | 
UrlTemplate | 
getUrlTemplate(DynamoHttpServletRequest pRequest)
Method to get the  
UrlTemplate object for the request browser type. | 
void | 
setDefaultTemplate(UrlTemplate pDefaultTemplate)
Setter method for the default template 
 | 
void | 
setTemplates(UrlTemplate[] pTemplates)
Setter method of array of  
UrlTemplate components | 
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, toStringvlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic static java.lang.String CLASS_VERSION
public UrlTemplate[] mTemplates
UrlTemplate componentspublic UrlTemplate mDefaultTemplate
UrlTemplate component to be used when no match is found in the UrlTemplate array property.public UrlTemplate[] getTemplates()
UrlTemplate componentsUrlTemplate componentspublic void setTemplates(UrlTemplate[] pTemplates)
UrlTemplate componentspTemplates - Array of UrlTemplate components.public UrlTemplate getDefaultTemplate()
UrlTemplate component to usepublic void setDefaultTemplate(UrlTemplate pDefaultTemplate)
pDefaultTemplate - UrlTemplate to use as the defaultpublic UrlTemplate getUrlTemplate(DynamoHttpServletRequest pRequest)
UrlTemplate object for the request browser type.
 If it can't find a match it will try to use the default template. This can be either an indirect or a direct Url template.
getUrlTemplate in interface UrlTemplateMapperpRequest - DynamoHttpServletRequest objectUrlTemplate object mapped to the browser type of the request or null if no match.