WebRequestPromiseDecorator (Grails 3.1.1)
Date: 2016-02-04

Package: org.grails.plugins.web.async

## [Groovy] Class WebRequestPromiseDecorator

- org.grails.plugins.web.async.WebRequestPromiseDecorator

- All Implemented Interfaces and Traits:
    PromiseDecorator

      @groovy.transform.CompileStatic
      class WebRequestPromiseDecorator

  A promise decorated lookup strategy that binds a WebRequest to the promise thread

  Authors:
    Graeme Rocher
  Since:
    2.3

- - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `GrailsWebRequest` | `webRequest`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `WebRequestPromiseDecorator (GrailsWebRequest webRequest)`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `groovy.lang.Closure<D>` | `decorate(groovy.lang.Closure<D> c)`
    `java.lang.Object` | `invokeClosure(groovy.lang.Closure c, java.lang.Object args)`

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

- - ### Property Detail

    - #### GrailsWebRequest webRequest

  - ### Constructor Detail

    - #### WebRequestPromiseDecorator(GrailsWebRequest webRequest)

  - ### Method Detail

    - #### @java.lang.Override groovy.lang.Closure<D> decorate(groovy.lang.Closure<D> c)

    - #### @groovy.transform.CompileStatic(TypeCheckingMode.SKIP) java.lang.Object invokeClosure(groovy.lang.Closure c, java.lang.Object args)