Package org.apache.struts2.components

# Interface UrlRenderer

All Known Implementing Classes:
  `ServletUrlRenderer`

public interface UrlRenderer
Implementations of this interface are responsible for rendering/creating URLs for a specific environment (e.g. Servlet).

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `beforeRenderUrl(UrlProvider provider)`
  Preprocessing step
  `void`
  `renderFormUrl(Form formComponent)`
  Render a Form URL.
  `void`
  `renderUrl(Writer writer, UrlProvider provider)`
  Render a URL.
  `void`
  `setActionMapper(ActionMapper actionMapper)`

- ## Method Details

  - ### beforeRenderUrl

    void beforeRenderUrl(UrlProvider provider)
    Preprocessing step
    Parameters:
      `provider` - The `UrlProvider` component that "owns" this renderer.

  - ### renderUrl

    void renderUrl(Writer writer, UrlProvider provider)
    Render a URL.
    Parameters:
      `writer` - A writer that the implementation can use to write the result to.
      `provider` - The `UrlProvider` component that "owns" this renderer.

  - ### renderFormUrl

    void renderFormUrl(Form formComponent)
    Render a Form URL.
    Parameters:
      `formComponent` - The `Form` component that "owns" this renderer.

  - ### setActionMapper

    void setActionMapper(ActionMapper actionMapper)