Class DefaulCustomPageUrlResolver
- java.lang.Object
-
- de.hybris.platform.commerceservices.url.impl.AbstractUrlResolver<java.lang.String>
-
- de.hybris.platform.commerceservices.url.impl.DefaulCustomPageUrlResolver
-
- All Implemented Interfaces:
UrlResolver<java.lang.String>
public class DefaulCustomPageUrlResolver extends AbstractUrlResolver<java.lang.String>
-
-
Constructor Summary
Constructors Constructor Description DefaulCustomPageUrlResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetKey(java.lang.String source)Get the cache key for the source instance.protected java.lang.StringgetPattern()protected java.lang.StringresolveInternal(java.lang.String source)Resolve the url path for the source type.voidsetPattern(java.lang.String pattern)-
Methods inherited from class de.hybris.platform.commerceservices.url.impl.AbstractUrlResolver
getThreadContextService, resolve, setThreadContextService, urlEncode, urlSafe
-
-
-
-
Method Detail
-
getPattern
protected java.lang.String getPattern()
-
setPattern
public void setPattern(java.lang.String pattern)
-
getKey
protected java.lang.String getKey(java.lang.String source)
Description copied from class:AbstractUrlResolverGet the cache key for the source instance.- Overrides:
getKeyin classAbstractUrlResolver<java.lang.String>- Parameters:
source- the source instance- Returns:
- the cache key or null if caching is not supported
-
resolveInternal
protected java.lang.String resolveInternal(java.lang.String source)
Description copied from class:AbstractUrlResolverResolve the url path for the source type.- Specified by:
resolveInternalin classAbstractUrlResolver<java.lang.String>- Parameters:
source- the source type.- Returns:
- the URL path
-
-