Class BaseFrontendRegexUrlDecoder<T>

java.lang.Object
de.hybris.platform.cmscockpit.url.impl.BaseFrontendRegexUrlDecoder<T>
All Implemented Interfaces:
FrontendUrlDecoder<T>, org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
CategoryCatalogVersionFrontendUrlDecoder, ProductCatalogVersionFrontendUrlDecoder

public abstract class BaseFrontendRegexUrlDecoder<T> extends Object implements FrontendUrlDecoder<T>, org.springframework.beans.factory.InitializingBean
Match url pattern using a regex.
  • Constructor Details

    • BaseFrontendRegexUrlDecoder

      public BaseFrontendRegexUrlDecoder()
  • Method Details

    • decode

      public T decode(String url)
      Specified by:
      decode in interface FrontendUrlDecoder<T>
    • translateId

      protected abstract T translateId(String id)
    • setRegex

      public void setRegex(String regex)
      Parameters:
      regex - the regex to set
    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean