Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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, Portlet).

Method Summary
`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 Detail

### beforeRenderUrl

    void beforeRenderUrl(UrlProvider provider)

  Preprocessing step

  Parameters:
    `urlComponent` -

### renderUrl

    void renderUrl(Writer writer,
                   UrlProvider provider)

  Render a URL.

  Parameters:
    `writer` - A writer that the implementation can use to write the result to.
    `urlComponent` - 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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000–2017 Apache Software Foundation. All rights reserved.