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.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
`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

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 © 2003-2012 The Apache Software Foundation.