org.codehaus.groovy.grails.web.pages
Class GroovyPageOutputStack

java.lang.Object
  extended by org.codehaus.groovy.grails.web.pages.GroovyPageOutputStack

public final class GroovyPageOutputStack
extends java.lang.Object


Field Summary
static org.apache.commons.logging.Log log
           
 
Method Summary
static GroovyPageOutputStack createNew(java.io.Writer topWriter)
           
static GroovyPageOutputStack currentStack()
           
static GroovyPageOutputStack currentStack(boolean allowCreate)
           
static GroovyPageOutputStack currentStack(boolean allowCreate, java.io.Writer topWriter, boolean autoSync, boolean pushTop)
           
static GroovyPageOutputStack currentStack(org.springframework.web.context.request.RequestAttributes request)
           
static GroovyPageOutputStack currentStack(org.springframework.web.context.request.RequestAttributes request, boolean allowCreate)
           
static GroovyPageOutputStack currentStack(org.springframework.web.context.request.RequestAttributes request, boolean allowCreate, java.io.Writer topWriter, boolean autoSync, boolean pushTop)
           
static java.io.Writer currentWriter()
           
 java.io.Writer getCurrentOriginalWriter()
           
 org.codehaus.groovy.grails.web.pages.GroovyPageOutputStack.GroovyPageProxyWriter getProxyWriter()
           
 void pop()
           
 void pop(boolean forceSync)
           
 void push(java.io.Writer newWriter)
           
 void push(java.io.Writer newWriter, boolean checkExisting)
           
static void removeCurrentInstance()
           
 void restoreThreadLocalsToOriginals()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final org.apache.commons.logging.Log log
Method Detail

currentStack

public static GroovyPageOutputStack currentStack()

currentStack

public static GroovyPageOutputStack currentStack(org.springframework.web.context.request.RequestAttributes request)

currentStack

public static GroovyPageOutputStack currentStack(boolean allowCreate)

currentStack

public static GroovyPageOutputStack currentStack(org.springframework.web.context.request.RequestAttributes request,
                                                 boolean allowCreate)

currentStack

public static GroovyPageOutputStack currentStack(boolean allowCreate,
                                                 java.io.Writer topWriter,
                                                 boolean autoSync,
                                                 boolean pushTop)

currentStack

public static GroovyPageOutputStack currentStack(org.springframework.web.context.request.RequestAttributes request,
                                                 boolean allowCreate,
                                                 java.io.Writer topWriter,
                                                 boolean autoSync,
                                                 boolean pushTop)

createNew

public static final GroovyPageOutputStack createNew(java.io.Writer topWriter)

removeCurrentInstance

public static final void removeCurrentInstance()

currentWriter

public static final java.io.Writer currentWriter()

push

public void push(java.io.Writer newWriter)

push

public void push(java.io.Writer newWriter,
                 boolean checkExisting)

pop

public void pop()

pop

public void pop(boolean forceSync)

getProxyWriter

public org.codehaus.groovy.grails.web.pages.GroovyPageOutputStack.GroovyPageProxyWriter getProxyWriter()

getCurrentOriginalWriter

public java.io.Writer getCurrentOriginalWriter()

restoreThreadLocalsToOriginals

public void restoreThreadLocalsToOriginals()