Schnittstelle URLMapperService

Alle Superschnittstellen:
Initable, Service
Alle bekannten Implementierungsklassen:
TurbineURLMapperService

public interface URLMapperService extends Service
The URL mapper service provides methods to map a set of parameters to a simplified URL and vice-versa. This service was inspired by the Liferay Friendly URL Mapper. A mapper valve and a link pull tool are provided for easy application.
Autor:
Thomas Vandahl
  • Felddetails

  • Methodendetails

    • mapToURL

      void mapToURL(TurbineURI uri)
      Map a set of parameters (contained in TurbineURI PathInfo and QueryData) to a TurbineURI
      Parameter:
      uri - the URI to be modified (with setScriptName())
    • mapFromURL

      void mapFromURL(String url, org.apache.fulcrum.parser.ParameterParser pp)
      Map a simplified URL to a set of parameters
      Parameter:
      url - the URL
      pp - a ParameterParser to use for parameter mangling