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 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)