Schnittstelle URLMapperService
- Alle bekannten Implementierungsklassen:
TurbineURLMapperService
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
-
Feldübersicht
Felder -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidmapFromURL(String url, org.apache.fulcrum.parser.ParameterParser pp) Map a simplified URL to a set of parametersvoidmapToURL(TurbineURI uri) Map a set of parameters (contained in TurbineURI PathInfo and QueryData) to a TurbineURIVon Schnittstelle geerbte Methoden org.apache.turbine.services.Initable
getInit, init, init, setInitableBroker, shutdownVon Schnittstelle geerbte Methoden org.apache.turbine.services.Service
getConfiguration, getName, getProperties, setName, setServiceBroker
-
Felddetails
-
SERVICE_NAME
The service identifier.- Siehe auch:
-
-
Methodendetails
-
mapToURL
Map a set of parameters (contained in TurbineURI PathInfo and QueryData) to a TurbineURI- Parameter:
uri- the URI to be modified (with setScriptName())
-
mapFromURL
Map a simplified URL to a set of parameters- Parameter:
url- the URLpp- a ParameterParser to use for parameter mangling
-