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

  Modifier and Type
  Method
  Description
  `ContentType`
  `findContentType(Object component)`
  Finds the content type for the page containing the indicated component.
  `void`
  `renderPageMarkupResponse(String pageName)`
  Renders a markup response by rendering the named page.

- ## Method Details

  - ### renderPageMarkupResponse

    void renderPageMarkupResponse(String pageName) throws IOException
    Renders a markup response by rendering the named page.
    Parameters:
      `pageName` - logical name of page to provide the markup
    Throws:
      `IOException`

  - ### findContentType

    ContentType findContentType(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:
      `IllegalArgumentException` - if the component parameter is not a component