Package org.apache.tapestry5.services

## Interface ResponseRenderer

- All Known Implementing Classes:
    `ResponseRendererImpl`

      public interface ResponseRenderer

  Public facade around internal services related to rendering a markup response.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `ContentType` | `findContentType​(java.lang.Object component)` | Finds the content type for the page containing the indicated component.
    `void` | `renderPageMarkupResponse​(java.lang.String pageName)` | Renders a markup response by rendering the named page.

- - ### Method Detail

    - #### renderPageMarkupResponse

          void renderPageMarkupResponse​(java.lang.String pageName)
                                 throws java.io.IOException

      Renders a markup response by rendering the named page.
      Parameters:
        `pageName` - logical name of page to provide the markup
      Throws:
        `java.io.IOException`

    - #### findContentType

          ContentType findContentType​(java.lang.Object component)

      Finds the content type for the page containing the indicated component.
      Parameters:
        `component` - a component within a page
      Returns:
        the content type
      Throws:
        `java.lang.IllegalArgumentException` - if the component parameter is not a component