Class GrailsRoutablePrintWriter

java.lang.Object
java.io.Writer
java.io.PrintWriter
org.grails.buffer.GrailsPrintWriterAdapter
org.grails.web.sitemesh.GrailsRoutablePrintWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable, org.grails.buffer.GrailsWrappedWriter

public class GrailsRoutablePrintWriter extends org.grails.buffer.GrailsPrintWriterAdapter
  • Constructor Details

  • Method Details

    • newInstance

    • activateDestination

      protected void activateDestination()
    • isAllowUnwrappingOut

      public boolean isAllowUnwrappingOut()
      Specified by:
      isAllowUnwrappingOut in interface org.grails.buffer.GrailsWrappedWriter
      Overrides:
      isAllowUnwrappingOut in class org.grails.buffer.GrailsPrintWriterAdapter
    • unwrap

      public Writer unwrap()
      Specified by:
      unwrap in interface org.grails.buffer.GrailsWrappedWriter
      Overrides:
      unwrap in class org.grails.buffer.GrailsPrintWriterAdapter
    • updateDestination

      public void updateDestination(GrailsRoutablePrintWriter.DestinationFactory f)
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Overrides:
      close in class org.grails.buffer.GrailsPrintWriterAdapter
    • println

      public void println(Object x)
      Overrides:
      println in class org.grails.buffer.GrailsPrintWriterAdapter
    • println

      public void println(String x)
      Overrides:
      println in class org.grails.buffer.GrailsPrintWriterAdapter
    • println

      public void println(char[] x)
      Overrides:
      println in class org.grails.buffer.GrailsPrintWriterAdapter
    • println

      public void println(double x)
      Overrides:
      println in class org.grails.buffer.GrailsPrintWriterAdapter
    • println

      public void println(float x)
      Overrides:
      println in class org.grails.buffer.GrailsPrintWriterAdapter
    • println

      public void println(long x)
      Overrides:
      println in class org.grails.buffer.GrailsPrintWriterAdapter
    • println

      public void println(int x)
      Overrides:
      println in class org.grails.buffer.GrailsPrintWriterAdapter
    • println

      public void println(char x)
      Overrides:
      println in class org.grails.buffer.GrailsPrintWriterAdapter
    • println

      public void println(boolean x)
      Overrides:
      println in class org.grails.buffer.GrailsPrintWriterAdapter
    • println

      public void println()
      Overrides:
      println in class org.grails.buffer.GrailsPrintWriterAdapter
    • print

      public void print(Object obj)
      Overrides:
      print in class org.grails.buffer.GrailsPrintWriterAdapter
    • print

      public void print(String s)
      Overrides:
      print in class org.grails.buffer.GrailsPrintWriterAdapter
    • print

      public void print(char[] s)
      Overrides:
      print in class org.grails.buffer.GrailsPrintWriterAdapter
    • print

      public void print(double d)
      Overrides:
      print in class org.grails.buffer.GrailsPrintWriterAdapter
    • print

      public void print(float f)
      Overrides:
      print in class org.grails.buffer.GrailsPrintWriterAdapter
    • print

      public void print(long l)
      Overrides:
      print in class org.grails.buffer.GrailsPrintWriterAdapter
    • print

      public void print(int i)
      Overrides:
      print in class org.grails.buffer.GrailsPrintWriterAdapter
    • print

      public void print(char c)
      Overrides:
      print in class org.grails.buffer.GrailsPrintWriterAdapter
    • print

      public void print(boolean b)
      Overrides:
      print in class org.grails.buffer.GrailsPrintWriterAdapter
    • write

      public void write(String s)
      Overrides:
      write in class org.grails.buffer.GrailsPrintWriterAdapter
    • write

      public void write(String s, int off, int len)
      Overrides:
      write in class org.grails.buffer.GrailsPrintWriterAdapter
    • write

      public void write(char[] buf)
      Overrides:
      write in class org.grails.buffer.GrailsPrintWriterAdapter
    • write

      public void write(char[] buf, int off, int len)
      Overrides:
      write in class org.grails.buffer.GrailsPrintWriterAdapter
    • write

      public void write(int c)
      Overrides:
      write in class org.grails.buffer.GrailsPrintWriterAdapter
    • checkError

      public boolean checkError()
      Overrides:
      checkError in class org.grails.buffer.GrailsPrintWriterAdapter
    • flush

      public void flush()
      Specified by:
      flush in interface Flushable
      Overrides:
      flush in class org.grails.buffer.GrailsPrintWriterAdapter
    • append

      public PrintWriter append(char c)
      Specified by:
      append in interface Appendable
      Overrides:
      append in class org.grails.buffer.GrailsPrintWriterAdapter
    • append

      public PrintWriter append(CharSequence csq, int start, int end)
      Specified by:
      append in interface Appendable
      Overrides:
      append in class org.grails.buffer.GrailsPrintWriterAdapter
    • append

      public PrintWriter append(CharSequence csq)
      Specified by:
      append in interface Appendable
      Overrides:
      append in class org.grails.buffer.GrailsPrintWriterAdapter
    • isBlockFlush

      public boolean isBlockFlush()
    • setBlockFlush

      public void setBlockFlush(boolean blockFlush)
    • isBlockClose

      public boolean isBlockClose()
    • setBlockClose

      public void setBlockClose(boolean blockClose)
    • unBlockFlushAndClose

      public void unBlockFlushAndClose()
    • blockFlushAndClose

      public void blockFlushAndClose()
    • leftShift

      public org.grails.buffer.GrailsPrintWriter leftShift(Object value) throws IOException
      Overrides:
      leftShift in class org.grails.buffer.GrailsPrintWriterAdapter
      Throws:
      IOException
    • leftShift

      public org.grails.buffer.GrailsPrintWriter leftShift(org.grails.buffer.StreamCharBuffer otherBuffer)
      Overrides:
      leftShift in class org.grails.buffer.GrailsPrintWriterAdapter
    • leftShift

      public org.grails.buffer.GrailsPrintWriter leftShift(groovy.lang.Writable writable)
      Overrides:
      leftShift in class org.grails.buffer.GrailsPrintWriterAdapter
    • isDestinationActivated

      public boolean isDestinationActivated()
    • setDestinationActivated

      public void setDestinationActivated(boolean destinationActivated)