## Uses of Interface
org.apache.tapestry5.http.Link

- Packages that use Link
  Package | Description
  --- | ---
  org.apache.tapestry5 | Root package for Tapestry, containing common interfaces and data types used throughout the framework.
  org.apache.tapestry5.corelib.base | Base components intended to be extended by other components rather than used directly in templates.
  org.apache.tapestry5.corelib.components | The set of core components available in all Tapestry applications
  org.apache.tapestry5.http |
  org.apache.tapestry5.http.internal.services |
  org.apache.tapestry5.http.services |
  org.apache.tapestry5.internal.services | [INTERNAL USE ONLY] internal service classes; API subject to change
  org.apache.tapestry5.internal.services.linktransform | [INTERNAL USE ONLY] link transformation support implementations; API subject to change
  org.apache.tapestry5.internal.structure | [INTERNAL USE ONLY] page structure implementation details; API subject to change.
  org.apache.tapestry5.internal.test | [INTERNAL USE ONLY] testing support implementation classes; API subject to change
  org.apache.tapestry5.services | Core services
  org.apache.tapestry5.services.linktransform | Services supporting link transformation.
  org.apache.tapestry5.test | Support for testing Tapestry pages
  org.apache.tapestry5.util | 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 Link
    Modifier and Type | Method | Description
    --- | --- | ---
    `Link` | ComponentResourcesCommon.`createEventLink​(java.lang.String eventType, java.lang.Object... context)` | Creates a component event request link as a callback for this component.
    `Link` | ComponentResourcesCommon.`createFormEventLink​(java.lang.String eventType, java.lang.Object... context)` | Creates a component event request link as a callback for this component.
    `Link` | 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 Link
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected abstract Link` | AbstractComponentEventLink.`createLink​(java.lang.Object[] eventContext)` | Invoked to create the Link that will become the href attribute of the output.
    `Link` | AbstractLink.`getLink()` | Returns the most recently rendered `Link` for this component.

    Methods in org.apache.tapestry5.corelib.base with parameters of type Link
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected void` | AbstractLink.`addParameters​(Link link)` | Adds any user-defined parameters as query parameters.
    `protected void` | AbstractLink.`writeLink​(MarkupWriter writer, Link link, java.lang.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 Link
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected Link` | ActionLink.`createLink​(java.lang.Object[] contextArray)` |
    `protected Link` | EventLink.`createLink​(java.lang.Object[] eventContext)` |
    `Link` | Tree.`getTreeActionLink()` |

  - ### Uses of Link in org.apache.tapestry5.http

    Methods in org.apache.tapestry5.http that return Link
    Modifier and Type | Method | Description
    --- | --- | ---
    `Link` | Link.`addParameter​(java.lang.String parameterName, java.lang.String value)` | Adds a parameter value.
    `Link` | Link.`addParameterValue​(java.lang.String parameterName, java.lang.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 via `addParameter(String, String)`.
    `Link` | Link.`copyWithBasePath​(java.lang.String basePath)` | Creates a copy of this link that has the same parameters, anchor, and other attributes, but a different base path.
    `Link` | Link.`removeParameter​(java.lang.String parameterName)` | Removes a parameter value, which is occasionally useful when transforming a parameter into a portion of the path.
    `Link` | Link.`setAnchor​(java.lang.String anchor)` | 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
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | ResponseImpl.`sendRedirect​(Link link)` |

  - ### Uses of Link in org.apache.tapestry5.http.services

    Methods in org.apache.tapestry5.http.services with parameters of type Link
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | Response.`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 Link
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `LinkImpl` |

    Methods in org.apache.tapestry5.internal.services that return Link
    Modifier and Type | Method | Description
    --- | --- | ---
    `Link` | LinkImpl.`addParameter​(java.lang.String parameterName, java.lang.String value)` |
    `Link` | LinkImpl.`addParameterValue​(java.lang.String parameterName, java.lang.Object value)` |
    `Link` | LinkImpl.`copyWithBasePath​(java.lang.String basePath)` |
    `Link` | ComponentEventLinkEncoderImpl.`createComponentEventLink​(ComponentEventRequestParameters parameters, boolean forForm)` |
    `Link` | LinkSource.`createComponentEventLink​(Page page, java.lang.String nestedId, java.lang.String eventType, boolean forForm, java.lang.Object... context)` | Creates a stateful action link.
    `Link` | LinkSourceImpl.`createComponentEventLink​(Page page, java.lang.String nestedId, java.lang.String eventType, boolean forForm, java.lang.Object... eventContext)` |
    `Link` | ComponentEventLinkEncoderImpl.`createPageRenderLink​(PageRenderRequestParameters parameters)` |
    `Link` | LinkSource.`createPageRenderLink​(java.lang.String pageName, boolean override, java.lang.Object... pageActivationContext)` | Creates a render link for the page.
    `Link` | LinkSourceImpl.`createPageRenderLink​(java.lang.String pageName, boolean override, java.lang.Object... pageActivationContext)` |
    `Link` | PageRenderLinkSourceImpl.`createPageRenderLink​(java.lang.Class pageClass)` |
    `Link` | PageRenderLinkSourceImpl.`createPageRenderLink​(java.lang.String pageName)` |
    `Link` | PageRenderLinkSourceImpl.`createPageRenderLinkWithContext​(java.lang.Class pageClass, java.lang.Object... context)` |
    `Link` | PageRenderLinkSourceImpl.`createPageRenderLinkWithContext​(java.lang.Class pageClass, EventContext eventContext)` |
    `Link` | PageRenderLinkSourceImpl.`createPageRenderLinkWithContext​(java.lang.String pageName, java.lang.Object... context)` |
    `Link` | PageRenderLinkSourceImpl.`createPageRenderLinkWithContext​(java.lang.String pageName, EventContext eventContext)` |
    `Link` | LinkImpl.`removeParameter​(java.lang.String parameterName)` |
    `Link` | LinkImpl.`setAnchor​(java.lang.String anchor)` |

    Methods in org.apache.tapestry5.internal.services with parameters of type Link
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | ClientBehaviorSupportImpl.`addFormInjector​(java.lang.String clientId, Link link, InsertPosition insertPosition, java.lang.String showFunctionName)` |
    `void` | ClientPersistentFieldStrategy.`createdComponentEventLink​(Link link, ComponentEventRequestParameters parameters)` |
    `void` | LinkDecorationListener.`createdComponentEventLink​(Link link, ComponentEventRequestParameters parameters)` |
    `void` | ClientPersistentFieldStrategy.`createdPageRenderLink​(Link link, PageRenderRequestParameters parameters)` |
    `void` | LinkDecorationListener.`createdPageRenderLink​(Link link, PageRenderRequestParameters parameters)` |
    `void` | ClientBehaviorSupportImpl.`linkZone​(java.lang.String linkId, java.lang.String elementId, Link eventLink)` |
    `void` | AjaxLinkComponentEventResultProcessor.`processResultValue​(Link value)` |
    `void` | ClientPersistentFieldStorage.`updateLink​(Link link)` | Updates a link, adding a query parameter to it (if necessary) to store
    `void` | ClientPersistentFieldStorageImpl.`updateLink​(Link link)` |

  - ### Uses of Link in org.apache.tapestry5.internal.services.linktransform

    Methods in org.apache.tapestry5.internal.services.linktransform that return Link
    Modifier and Type | Method | Description
    --- | --- | ---
    `Link` | LinkTransformerInterceptor.`createComponentEventLink​(ComponentEventRequestParameters parameters, boolean forForm)` |
    `Link` | LinkTransformerInterceptor.`createPageRenderLink​(PageRenderRequestParameters parameters)` |
    `Link` | LinkTransformerImpl.`transformComponentEventLink​(Link defaultLink, ComponentEventRequestParameters parameters)` |
    `Link` | LinkTransformerImpl.`transformPageRenderLink​(Link defaultLink, PageRenderRequestParameters parameters)` |

    Methods in org.apache.tapestry5.internal.services.linktransform with parameters of type Link
    Modifier and Type | Method | Description
    --- | --- | ---
    `Link` | LinkTransformerImpl.`transformComponentEventLink​(Link defaultLink, ComponentEventRequestParameters parameters)` |
    `Link` | LinkTransformerImpl.`transformPageRenderLink​(Link defaultLink, PageRenderRequestParameters parameters)` |

  - ### Uses of Link in org.apache.tapestry5.internal.structure

    Methods in org.apache.tapestry5.internal.structure that return Link
    Modifier and Type | Method | Description
    --- | --- | ---
    `Link` | ComponentPageElementResources.`createComponentEventLink​(ComponentResources resources, java.lang.String eventType, boolean forForm, java.lang.Object... context)` | Creates a link on behalf of a component.
    `Link` | ComponentPageElementResourcesImpl.`createComponentEventLink​(ComponentResources resources, java.lang.String eventType, boolean forForm, java.lang.Object... context)` |
    `Link` | ComponentPageElementImpl.`createEventLink​(java.lang.String eventType, java.lang.Object... context)` |
    `Link` | InternalComponentResourcesImpl.`createEventLink​(java.lang.String eventType, java.lang.Object... context)` |
    `Link` | ComponentPageElementImpl.`createFormEventLink​(java.lang.String eventType, java.lang.Object... context)` |
    `Link` | InternalComponentResourcesImpl.`createFormEventLink​(java.lang.String eventType, java.lang.Object... context)` |
    `Link` | ComponentPageElementResources.`createPageRenderLink​(java.lang.Class pageClass, boolean override, java.lang.Object... context)` | Creates a page render request link to render a specific page.
    `Link` | ComponentPageElementResources.`createPageRenderLink​(java.lang.String pageName, boolean override, java.lang.Object... context)` | Creates a page render request link to render a specific page.
    `Link` | ComponentPageElementResourcesImpl.`createPageRenderLink​(java.lang.Class pageClass, boolean override, java.lang.Object... context)` |
    `Link` | ComponentPageElementResourcesImpl.`createPageRenderLink​(java.lang.String pageName, boolean override, java.lang.Object... context)` |

  - ### Uses of Link in org.apache.tapestry5.internal.test

    Methods in org.apache.tapestry5.internal.test that return Link
    Modifier and Type | Method | Description
    --- | --- | ---
    `Link` | TestableResponse.`getRedirectLink()` | Returns the link redirected to via `Response.sendRedirect(org.apache.tapestry5.http.Link)`.
    `Link` | TestableResponseImpl.`getRedirectLink()` |

    Methods in org.apache.tapestry5.internal.test with parameters of type Link
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | TestableResponseImpl.`sendRedirect​(Link link)` |

  - ### Uses of Link in org.apache.tapestry5.services

    Methods in org.apache.tapestry5.services that return Link
    Modifier and Type | Method | Description
    --- | --- | ---
    `Link` | ComponentEventLinkEncoder.`createComponentEventLink​(ComponentEventRequestParameters parameters, boolean forForm)` | Creates a link that encapsulates a component event request, including `PersistentLocale` (if set).
    `Link` | ComponentEventLinkEncoder.`createPageRenderLink​(PageRenderRequestParameters parameters)` | Creates a Link that encapsulates a page render request, including activation context and `PersistentLocale` (if set).
    `Link` | PageRenderLinkSource.`createPageRenderLink​(java.lang.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).
    `Link` | PageRenderLinkSource.`createPageRenderLink​(java.lang.String pageName)` | Creates a page render link using the page's normal passivation context (if it has one).
    `Link` | PageRenderLinkSource.`createPageRenderLinkWithContext​(java.lang.Class pageClass, java.lang.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).
    `Link` | PageRenderLinkSource.`createPageRenderLinkWithContext​(java.lang.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 context
    `Link` | PageRenderLinkSource.`createPageRenderLinkWithContext​(java.lang.String pageName, java.lang.Object... context)` | Creates a page render link using an override of the page's passivation context (possibly an empty one).
    `Link` | PageRenderLinkSource.`createPageRenderLinkWithContext​(java.lang.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 Link
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | ClientBehaviorSupport.`addFormInjector​(java.lang.String clientId, Link link, InsertPosition insertPosition, java.lang.String showFunctionName)` | Deprecated. Adds a new client-side Tapestry.FormInjector object.
    `void` | LinkCreationListener.`createdComponentEventLink​(Link link)` | Deprecated. Invoked when an action link (a link that asks a component to perform an action) is created.
    `void` | LinkCreationListener2.`createdComponentEventLink​(Link link, ComponentEventRequestParameters parameters)` | Invoked when an action link (a link that asks a component to perform an action) is created.
    `void` | LinkCreationListener.`createdPageRenderLink​(Link link)` | Deprecated. Invoked when a page link (a link that renders a page) is created.
    `void` | LinkCreationListener2.`createdPageRenderLink​(Link link, PageRenderRequestParameters parameters)` | Invoked when a page link (a link that renders a page) is created.
    `void` | ClientBehaviorSupport.`linkZone​(java.lang.String linkId, java.lang.String elementId, Link eventLink)` | Deprecated. Sets the client-side onclick handler for an <a> element to perform an Ajax update of a zone.
    `static HttpStatus` | HttpStatus.`movedPermanently​(Link link)` | Creates an instance with status code `301 Moved Permanently`.
    `static HttpStatus` | HttpStatus.`seeOther​(Link location)` | Creates an instance with status code `303 See Also`.
    `static HttpStatus` | HttpStatus.`temporaryRedirect​(Link location)` | Creates an instance with status code `302 Found`.
    `HttpStatus` | HttpStatus.`withContentLocation​(Link link)` | Sets the `Content-Location` HTTP header.
    `HttpStatus` | HttpStatus.`withLocation​(Link location)` | Sets a redirect by using the `Location` HTTP header.

  - ### Uses of Link in org.apache.tapestry5.services.linktransform

    Methods in org.apache.tapestry5.services.linktransform that return Link
    Modifier and Type | Method | Description
    --- | --- | ---
    `Link` | ComponentEventLinkTransformer.`transformComponentEventLink​(Link defaultLink, ComponentEventRequestParameters parameters)` | Allows the default Link created for the component event request to be replaced.
    `Link` | PageRenderLinkTransformer.`transformPageRenderLink​(Link defaultLink, PageRenderRequestParameters parameters)` | Transforms a page render link.

    Methods in org.apache.tapestry5.services.linktransform with parameters of type Link
    Modifier and Type | Method | Description
    --- | --- | ---
    `Link` | ComponentEventLinkTransformer.`transformComponentEventLink​(Link defaultLink, ComponentEventRequestParameters parameters)` | Allows the default Link created for the component event request to be replaced.
    `Link` | 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 Link
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected Link` | TapestryTestCase.`mockLink()` |
    `protected Link` | TapestryTestCase.`mockLink​(java.lang.String absoluteURI)` |

    Methods in org.apache.tapestry5.test with parameters of type Link
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected void` | TapestryTestCase.`train_toRedirectURI​(Link link, java.lang.String URI)` |
    `protected void` | TapestryTestCase.`train_toURI​(Link link, java.lang.String URI)` |

  - ### Uses of Link in org.apache.tapestry5.util

    Methods in org.apache.tapestry5.util with parameters of type Link
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | ResponseWrapper.`sendRedirect​(Link link)` |