private static class MailMessageContentRenderer.RenderEnvironment extends java.lang.Object
| Modifiers | Name | Description |
|---|---|---|
private ApplicationContext |
applicationContext |
|
private LinkGenerator |
grailsLinkGenerator |
|
private java.util.Locale |
locale |
|
private GrailsWebRequest |
originalRequestAttributes |
|
private HttpServletResponse |
originalWrappedResponse |
|
private java.io.PrintWriter |
out |
|
private GrailsWebRequest |
renderRequestAttributes |
| Type | Name and description |
|---|---|
ApplicationContext |
applicationContext |
LinkGenerator |
grailsLinkGenerator |
java.util.Locale |
locale |
java.io.PrintWriter |
out |
| Constructor and description |
|---|
RenderEnvironment
(ApplicationContext applicationContext, java.io.Writer out, java.util.Locale locale) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
private void |
close() |
|
java.lang.String |
getControllerName() |
|
private void |
init() |
|
static java.lang.Object |
with(ApplicationContext applicationContext, java.io.Writer out, groovy.lang.Closure block)Establish an environment inheriting the locale of the current request if there is one |
|
static java.lang.Object |
with(ApplicationContext applicationContext, java.io.Writer out, java.util.Locale locale, groovy.lang.Closure block)Establish an environment with a specific locale |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
Establish an environment inheriting the locale of the current request if there is one
Establish an environment with a specific locale
Groovy Documentation