CompositeViewResolver (Grails 3.2.6)
Date: 2017-02-09

Package: org.grails.web.servlet.view

## [Groovy] Class CompositeViewResolver

- org.grails.web.servlet.view.CompositeViewResolver

- Performs the job of iterating across registered view resolvers and returning the first matching view similar to the hard coded behavior in DispatcherServlet

  Authors:
    Graeme Rocher
  Since:
    3.1.1

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `static java.lang.String` | `BEAN_NAME` |

  - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `java.util.List<org.springframework.web.servlet.ViewResolver>` | `viewResolvers`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `org.springframework.web.servlet.View` | `resolveView(java.lang.String viewName, java.util.Locale locale)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class java.lang.Object` | `java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()`

- - ### Field Detail

    - #### public static final java.lang.String BEAN_NAME

  - ### Property Detail

    - #### @org.springframework.beans.factory.annotation.Autowired(required = false) java.util.List<org.springframework.web.servlet.ViewResolver> viewResolvers

  - ### Method Detail

    - #### org.springframework.web.servlet.View resolveView(java.lang.String viewName, java.util.Locale locale)