ServletContextHolder (Grails 3.1.4)
Date: 2016-03-16

Package: grails.web.context

## [Java] Class ServletContextHolder

- grails.web.context.ServletContextHolder

- Holds a reference to the ServletContext.

  Authors:
    Graeme Rocher
  Since:
    1.0

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `static javax.servlet.ServletContext` | `getServletContext()`
    `static void` | `setServletContext(javax.servlet.ServletContext servletContext)`

  - ### 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()`

- - ### Method Detail

    - #### public static javax.servlet.ServletContext getServletContext()

    - #### public static void setServletContext(javax.servlet.ServletContext servletContext)