GroovyPageResourceLoader (Grails 3.2.3)
Date: 2016-11-10

Package: org.grails.gsp

## [Java] Class GroovyPageResourceLoader

- org.grails.gsp.GroovyPageResourceLoader

- A StaticResourceLoader that loads GSPs from a local grails-app folder instead of from WEB-INF in development mode.

  Authors:
    Graeme Rocher
  See Also:
    StaticResourceLoader
  Since:
    0.5

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `static java.lang.String` | `BEAN_ID` | The id of the instance of this bean to be used in the Spring context

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `org.springframework.core.io.Resource` | `getResource(java.lang.String location)`
    `void` | `setBaseResource(org.springframework.core.io.Resource baseResource)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class StaticResourceLoader` | `getClassLoader, getResource, setBaseResource`
    `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_ID

      The id of the instance of this bean to be used in the Spring context

  - ### Method Detail

    - #### @java.lang.Override public org.springframework.core.io.Resource getResource(java.lang.String location)

    - #### @java.lang.Override public void setBaseResource(org.springframework.core.io.Resource baseResource)