src.java.org.codehaus.groovy.grails.plugins.springsecurity
Class SecurityRequestHolder

Field Summary
 ThreadLocal REQUEST_HOLDER
           
 ThreadLocal RESPONSE_HOLDER
           
 
Constructor Summary
SecurityRequestHolder()
           
 
Method Summary
static HttpServletRequest getRequest()
           Get the current request.
static HttpServletResponse getResponse()
           Get the current response.
static void reset()
           Clear the saved request.
static void set(HttpServletRequest request, HttpServletResponse response)
           Set the current request and response.
 

Constructor Detail

SecurityRequestHolder

SecurityRequestHolder()


Method Detail

getRequest

public static HttpServletRequest getRequest()
Get the current request.
return:
the request


getResponse

public static HttpServletResponse getResponse()
Get the current response.
return:
the response


reset

public static void reset()
Clear the saved request.


set

public static void set(HttpServletRequest request, HttpServletResponse response)
Set the current request and response.
param:
request the request
param:
response the response