Groovy Documentation

org.grails.plugin.vaadin
[Groovy] Class VaadinRequestContextHolder

java.lang.Object
  org.grails.plugin.vaadin.VaadinRequestContextHolder

class VaadinRequestContextHolder

Mimics Spring's RequestContextHolder

Holds active VaadinRequest in current thread.

Authors:
Francis McKenzie


Field Summary
protected static ThreadLocal activeRequestHolder

Holds the active request in the current thread

 
Constructor Summary
VaadinRequestContextHolder()

 
Method Summary
static VaadinRequest getRequestAttributes()

Gets the active request

static void setRequestAttributes(VaadinRequest request)

Sets the active request

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

activeRequestHolder

protected static ThreadLocal activeRequestHolder
Holds the active request in the current thread


 
Constructor Detail

VaadinRequestContextHolder

VaadinRequestContextHolder()


 
Method Detail

getRequestAttributes

static VaadinRequest getRequestAttributes()
Gets the active request


setRequestAttributes

static void setRequestAttributes(VaadinRequest request)
Sets the active request


 

Groovy Documentation