Package: grails.rest.render

## [Groovy] Interface ContainerRenderer<C, T>

- grails.web.mime.MimeTypeProvider

- All Superinterfaces:
    Renderer, MimeTypeProvider

  A container a renderer is a render that renders a container of objects (Example: List of Book instances)

  Authors:
    Graeme Rocher
  Since:
    2.3

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `java.lang.Class<T>` | `getComponentType()` Returns: The underlying type wrapped by the container.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `interface Renderer` | `getTargetType, render`
    `interface MimeTypeProvider` | `getMimeTypes`

- - ### Method Detail

    - #### java.lang.Class<T> getComponentType()

      Returns:
        The underlying type wrapped by the container. For example with List, this method would return Book