Uses of Interface
org.apache.tapestry5.http.Link
Packages that use Link
Package
Description
Root package for Tapestry, containing common interfaces and data types used throughout the framework.
Base components intended to be extended by other components rather than
used directly in templates.
The set of core components available in all Tapestry applications
[INTERNAL USE ONLY] internal service classes; API subject to change
[INTERNAL USE ONLY] link transformation support implementations; API subject to change
[INTERNAL USE ONLY] page structure implementation details; API subject to change.
[INTERNAL USE ONLY] testing support implementation classes; API subject to change
Core services
Services supporting link transformation.
Support for testing Tapestry pages
A set of enums, abstract classs and wrappers of various purposes
-
Uses of Link in org.apache.tapestry5
Methods in org.apache.tapestry5 that return LinkModifier and TypeMethodDescriptionComponentResourcesCommon.createEventLink(String eventType, Object... context) Creates a component event request link as a callback for this component.ComponentResourcesCommon.createFormEventLink(String eventType, Object... context) Creates a component event request link as a callback for this component.PageCallback.toLink(PageRenderLinkSource linkSource) Converts the callback (the page name and activation context) to a link; such a link may be returned from a event handler method to cause Tapestry to redirect to the page. -
Uses of Link in org.apache.tapestry5.corelib.base
Methods in org.apache.tapestry5.corelib.base that return LinkModifier and TypeMethodDescriptionprotected abstract LinkAbstractComponentEventLink.createLink(Object[] eventContext) Invoked to create the Link that will become the href attribute of the output.AbstractLink.getLink()Returns the most recently renderedLinkfor this component.Methods in org.apache.tapestry5.corelib.base with parameters of type LinkModifier and TypeMethodDescriptionprotected final voidAbstractLink.addParameters(Link link) Adds any user-defined parameters as query parameters.protected final voidAbstractLink.writeLink(MarkupWriter writer, Link link, Object... namesAndValues) Writes an <a> element with the provided link as the href attribute. -
Uses of Link in org.apache.tapestry5.corelib.components
Methods in org.apache.tapestry5.corelib.components that return LinkModifier and TypeMethodDescriptionprotected LinkActionLink.createLink(Object[] contextArray) protected LinkEventLink.createLink(Object[] eventContext) Tree.getTreeActionLink() -
Uses of Link in org.apache.tapestry5.http
Methods in org.apache.tapestry5.http that return LinkModifier and TypeMethodDescriptionLink.addParameter(String parameterName, String value) Adds a parameter value.Link.addParameterValue(String parameterName, Object value) Adds a parameter value as a value object; the value object is converted to a string via ContextPathEncoder.encodeValue(Object) from tapestry-core and the result is added viaaddParameter(String, String).Link.copyWithBasePath(String basePath) Creates a copy of this link that has the same parameters, anchor, and other attributes, but a different base path.Link.removeParameter(String parameterName) Removes a parameter value, which is occasionally useful when transforming a parameter into a portion of the path.Sets the link anchor. -
Uses of Link in org.apache.tapestry5.http.internal.services
Methods in org.apache.tapestry5.http.internal.services with parameters of type Link -
Uses of Link in org.apache.tapestry5.http.services
Methods in org.apache.tapestry5.http.services with parameters of type LinkModifier and TypeMethodDescriptionvoidResponse.sendRedirect(Link link) Sends a redirect to a link. -
Uses of Link in org.apache.tapestry5.internal.services
Classes in org.apache.tapestry5.internal.services that implement LinkMethods in org.apache.tapestry5.internal.services that return LinkModifier and TypeMethodDescriptionLinkImpl.addParameter(String parameterName, String value) LinkImpl.addParameterValue(String parameterName, Object value) LinkImpl.copyWithBasePath(String basePath) ComponentEventLinkEncoderImpl.createComponentEventLink(ComponentEventRequestParameters parameters, boolean forForm) LinkSource.createComponentEventLink(Page page, String nestedId, String eventType, boolean forForm, Object... context) Creates a stateful action link.LinkSourceImpl.createComponentEventLink(Page page, String nestedId, String eventType, boolean forForm, Object... eventContext) ComponentEventLinkEncoderImpl.createPageRenderLink(PageRenderRequestParameters parameters) LinkSource.createPageRenderLink(String pageName, boolean override, Object... pageActivationContext) Creates a render link for the page.LinkSourceImpl.createPageRenderLink(String pageName, boolean override, Object... pageActivationContext) PageRenderLinkSourceImpl.createPageRenderLink(Class pageClass) PageRenderLinkSourceImpl.createPageRenderLink(String pageName) PageRenderLinkSourceImpl.createPageRenderLinkWithContext(Class pageClass, Object... context) PageRenderLinkSourceImpl.createPageRenderLinkWithContext(Class pageClass, EventContext eventContext) PageRenderLinkSourceImpl.createPageRenderLinkWithContext(String pageName, Object... context) PageRenderLinkSourceImpl.createPageRenderLinkWithContext(String pageName, EventContext eventContext) LinkImpl.removeParameter(String parameterName) Methods in org.apache.tapestry5.internal.services with parameters of type LinkModifier and TypeMethodDescriptionvoidClientBehaviorSupportImpl.addFormInjector(String clientId, Link link, InsertPosition insertPosition, String showFunctionName) voidClientPersistentFieldStrategy.createdComponentEventLink(Link link, ComponentEventRequestParameters parameters) voidLinkDecorationListener.createdComponentEventLink(Link link, ComponentEventRequestParameters parameters) voidClientPersistentFieldStrategy.createdPageRenderLink(Link link, PageRenderRequestParameters parameters) voidLinkDecorationListener.createdPageRenderLink(Link link, PageRenderRequestParameters parameters) voidvoidAjaxLinkComponentEventResultProcessor.processResultValue(Link value) voidClientPersistentFieldStorage.updateLink(Link link) Updates a link, adding a query parameter to it (if necessary) to storevoidClientPersistentFieldStorageImpl.updateLink(Link link) -
Uses of Link in org.apache.tapestry5.internal.services.linktransform
Methods in org.apache.tapestry5.internal.services.linktransform that return LinkModifier and TypeMethodDescriptionLinkTransformerInterceptor.createComponentEventLink(ComponentEventRequestParameters parameters, boolean forForm) LinkTransformerInterceptor.createPageRenderLink(PageRenderRequestParameters parameters) LinkTransformerImpl.transformComponentEventLink(Link defaultLink, ComponentEventRequestParameters parameters) LinkTransformerImpl.transformPageRenderLink(Link defaultLink, PageRenderRequestParameters parameters) Methods in org.apache.tapestry5.internal.services.linktransform with parameters of type LinkModifier and TypeMethodDescriptionLinkTransformerImpl.transformComponentEventLink(Link defaultLink, ComponentEventRequestParameters parameters) LinkTransformerImpl.transformPageRenderLink(Link defaultLink, PageRenderRequestParameters parameters) -
Uses of Link in org.apache.tapestry5.internal.structure
Methods in org.apache.tapestry5.internal.structure that return LinkModifier and TypeMethodDescriptionComponentPageElementResources.createComponentEventLink(ComponentResources resources, String eventType, boolean forForm, Object... context) Creates a link on behalf of a component.ComponentPageElementResourcesImpl.createComponentEventLink(ComponentResources resources, String eventType, boolean forForm, Object... context) ComponentPageElementImpl.createEventLink(String eventType, Object... context) InternalComponentResourcesImpl.createEventLink(String eventType, Object... context) ComponentPageElementImpl.createFormEventLink(String eventType, Object... context) InternalComponentResourcesImpl.createFormEventLink(String eventType, Object... context) ComponentPageElementResources.createPageRenderLink(Class pageClass, boolean override, Object... context) Creates a page render request link to render a specific page.ComponentPageElementResources.createPageRenderLink(String pageName, boolean override, Object... context) Creates a page render request link to render a specific page.ComponentPageElementResourcesImpl.createPageRenderLink(Class pageClass, boolean override, Object... context) ComponentPageElementResourcesImpl.createPageRenderLink(String pageName, boolean override, Object... context) -
Uses of Link in org.apache.tapestry5.internal.test
Methods in org.apache.tapestry5.internal.test that return LinkModifier and TypeMethodDescriptionTestableResponse.getRedirectLink()Returns the link redirected to viaResponse.sendRedirect(org.apache.tapestry5.http.Link).TestableResponseImpl.getRedirectLink()Methods in org.apache.tapestry5.internal.test with parameters of type Link -
Uses of Link in org.apache.tapestry5.services
Methods in org.apache.tapestry5.services that return LinkModifier and TypeMethodDescriptionComponentEventLinkEncoder.createComponentEventLink(ComponentEventRequestParameters parameters, boolean forForm) Creates a link that encapsulates a component event request, includingPersistentLocale(if set).ComponentEventLinkEncoder.createPageRenderLink(PageRenderRequestParameters parameters) Creates a Link that encapsulates a page render request, including activation context andPersistentLocale(if set).PageRenderLinkSource.createPageRenderLink(Class pageClass) Creates a page render link using the page's class to identify the target page, and using the pages normal passivation context (if it has one).PageRenderLinkSource.createPageRenderLink(String pageName) Creates a page render link using the page's normal passivation context (if it has one).PageRenderLinkSource.createPageRenderLinkWithContext(Class pageClass, Object... context) Creates a page render link using the page's class to identify the target page, and using an override of the page's passivation context (possibly an empty one).PageRenderLinkSource.createPageRenderLinkWithContext(Class pageClass, EventContext eventContext) Creates a page render link using the page's class to identify the target page, and using an override of the page's passivation contextPageRenderLinkSource.createPageRenderLinkWithContext(String pageName, Object... context) Creates a page render link using an override of the page's passivation context (possibly an empty one).PageRenderLinkSource.createPageRenderLinkWithContext(String pageName, EventContext eventContext) Creates a page render link using an override of the page's passivation context.Methods in org.apache.tapestry5.services with parameters of type LinkModifier and TypeMethodDescriptionvoidClientBehaviorSupport.addFormInjector(String clientId, Link link, InsertPosition insertPosition, String showFunctionName) Deprecated.Adds a new client-side Tapestry.FormInjector object.voidLinkCreationListener.createdComponentEventLink(Link link) Deprecated.Invoked when an action link (a link that asks a component to perform an action) is created.voidLinkCreationListener2.createdComponentEventLink(Link link, ComponentEventRequestParameters parameters) Invoked when an action link (a link that asks a component to perform an action) is created.voidLinkCreationListener.createdPageRenderLink(Link link) Deprecated.Invoked when a page link (a link that renders a page) is created.voidLinkCreationListener2.createdPageRenderLink(Link link, PageRenderRequestParameters parameters) Invoked when a page link (a link that renders a page) is created.voidDeprecated.Sets the client-side onclick handler for an <a> element to perform an Ajax update of a zone.static HttpStatusHttpStatus.movedPermanently(Link link) Creates an instance with status code301 Moved Permanently.static HttpStatusCreates an instance with status code303 See Also.static HttpStatusHttpStatus.temporaryRedirect(Link location) Creates an instance with status code302 Found.HttpStatus.withContentLocation(Link link) Sets theContent-LocationHTTP header.HttpStatus.withLocation(Link location) Sets a redirect by using theLocationHTTP header. -
Uses of Link in org.apache.tapestry5.services.linktransform
Methods in org.apache.tapestry5.services.linktransform that return LinkModifier and TypeMethodDescriptionComponentEventLinkTransformer.transformComponentEventLink(Link defaultLink, ComponentEventRequestParameters parameters) Allows the default Link created for the component event request to be replaced.PageRenderLinkTransformer.transformPageRenderLink(Link defaultLink, PageRenderRequestParameters parameters) Transforms a page render link.Methods in org.apache.tapestry5.services.linktransform with parameters of type LinkModifier and TypeMethodDescriptionComponentEventLinkTransformer.transformComponentEventLink(Link defaultLink, ComponentEventRequestParameters parameters) Allows the default Link created for the component event request to be replaced.PageRenderLinkTransformer.transformPageRenderLink(Link defaultLink, PageRenderRequestParameters parameters) Transforms a page render link. -
Uses of Link in org.apache.tapestry5.test
Methods in org.apache.tapestry5.test that return LinkModifier and TypeMethodDescriptionprotected final LinkTapestryTestCase.mockLink()protected final LinkMethods in org.apache.tapestry5.test with parameters of type LinkModifier and TypeMethodDescriptionprotected final voidTapestryTestCase.train_toRedirectURI(Link link, String URI) protected final voidTapestryTestCase.train_toURI(Link link, String URI) -
Uses of Link in org.apache.tapestry5.util
Methods in org.apache.tapestry5.util with parameters of type Link