org.apache.tapestry.portlet
Class PortletAssetLinkFactoryImpl
java.lang.Object
org.apache.tapestry.services.impl.LinkFactoryImpl
org.apache.tapestry.portlet.PortletAssetLinkFactoryImpl
- All Implemented Interfaces:
- LinkFactory
public class PortletAssetLinkFactoryImpl
- extends LinkFactoryImpl
Creates EngineServiceLink
s that will re-encode asset URL's
using IRequestCycle.encodeURL(String)
.
Methods inherited from class org.apache.tapestry.services.impl.LinkFactoryImpl |
createServiceEncoding, extractListenerParameters, finalizeParameters, getServiceEncoders, initializeService, setContributions, setDataSqueezer, setErrorLog, setPersistenceStrategySource, setRequest, setRequestCycle, setServletPath, squeezeServiceParameters |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletAssetLinkFactoryImpl
public PortletAssetLinkFactoryImpl()
constructLink
public ILink constructLink(IEngineService service,
boolean post,
Map parameters,
boolean stateful)
- Description copied from interface:
LinkFactory
- Constructs an
ILink
.
- Specified by:
constructLink
in interface LinkFactory
- Overrides:
constructLink
in class LinkFactoryImpl
- Parameters:
service
- the service for which the link is being generatedpost
- if true, then the link will be used for a post (not a get,
i.e., for a HTML form); this may affect what information is
encoded into the linkparameters
- A map; keys are strings and values are strings or string
arrays (exception: key ServiceConstants.PARAMETER
is
an array of objects. Certain keys, defined in
ServiceConstants
may have special meaning. The map
will typically be modified internally. May not be null.stateful
- If true, then the final URL should be encoded (with the
session id) if necessary. If false, the session encoding
should not occur. The latter case is useful for services that
will absolutely not need any access to user-specific state.
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.