public class RequestContext extends Object
Sets the context for the currently running request. You can access the request specific instances of
HttpServletRequest, HttpServletResponse and Application from here.
Also, you can define a custom GroovyConsoleFactory if you want to change the scope of one Console. Per default we use OnePerApplicationAndSession.
| Modifier and Type | Method and Description |
|---|---|
static void |
setConsoleFactory(GroovyConsoleFactory newFactory) |
public static void setConsoleFactory(GroovyConsoleFactory newFactory)
Copyright © 2018. All rights reserved.