Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tomcat.facade
Class ServletWriterFacade

    java.lang.Object
      java.io.Writer
          java.io.PrintWriter
              org.apache.tomcat.facade.ServletWriterFacade

public final class ServletWriterFacade
extends java.io.PrintWriter

Facade to the PrintWriter returned by Response. This will grow to include more support for JSPs ( and other templating systems ) buffering requirements, provide support for accounting and will allow more control over char-to-byte conversion ( if it proves that we spend too much time in that area ). This will also help us control the multi-buffering ( since all writers have 8k or more of un-recyclable buffers).

Author:
  Costin Manolache [costin@eng.sun.com]

Field Summary

Fields inherited from class java.io.PrintWriter
`out`

Fields inherited from class java.io.Writer
`lock`

Constructor Summary
`ServletWriterFacade(OutputBuffer ob, Response resp)`

Method Summary
`void` | `close()`
`void` | `flush()`
`void` | `print(java.lang.String str)`
`void` | `println(java.lang.String str)`
`void` | `write(char[] buf, int offset, int count)`
`void` | `write(java.lang.String str)`

Methods inherited from class java.io.PrintWriter
`checkError, print, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, println, setError, write, write, write`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ServletWriterFacade

    public ServletWriterFacade(OutputBuffer ob,
                               Response resp)

Method Detail

### flush

    public void flush()

### print

    public void print(java.lang.String str)

### println

    public void println(java.lang.String str)

### write

    public void write(char[] buf,
                      int offset,
                      int count)

### write

    public void write(java.lang.String str)

### close

    public void close()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001 Apache Software Foundation. All Rights Reserved.