Home » sitemesh-2.4.1 » com.opensymphony.module » sitemesh » filter » [javadoc | source]
com.opensymphony.module.sitemesh.filter
public class: RoutableServletOutputStream [javadoc | source]
java.lang.Object
   java.io.OutputStream
      javax.servlet.ServletOutputStream
         com.opensymphony.module.sitemesh.filter.RoutableServletOutputStream

All Implemented Interfaces:
    Closeable, Flushable

Provides a ServletOutputStream that routes through to another ServletOutputStream, however the destination can be changed at any point. The destination can be passed in using a factory, so it will not be created until it's actually needed.
Nested Class Summary:
public static interface  RoutableServletOutputStream.DestinationFactory  Factory to lazily instantiate the destination. 
Constructor:
 public RoutableServletOutputStream(DestinationFactory factory) 
Method from com.opensymphony.module.sitemesh.filter.RoutableServletOutputStream Summary:
close,   flush,   print,   print,   print,   print,   print,   print,   print,   println,   println,   println,   println,   println,   println,   println,   println,   updateDestination,   write,   write,   write
Methods from javax.servlet.ServletOutputStream:
print,   print,   print,   print,   print,   print,   print,   println,   println,   println,   println,   println,   println,   println,   println
Methods from java.io.OutputStream:
close,   flush,   write,   write,   write
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.opensymphony.module.sitemesh.filter.RoutableServletOutputStream Detail:
 public  void close() throws IOException 
 public  void flush() throws IOException 
 public  void print(String s) throws IOException 
 public  void print(boolean b) throws IOException 
 public  void print(char c) throws IOException 
 public  void print(int i) throws IOException 
 public  void print(long l) throws IOException 
 public  void print(float v) throws IOException 
 public  void print(double v) throws IOException 
 public  void println() throws IOException 
 public  void println(String s) throws IOException 
 public  void println(boolean b) throws IOException 
 public  void println(char c) throws IOException 
 public  void println(int i) throws IOException 
 public  void println(long l) throws IOException 
 public  void println(float v) throws IOException 
 public  void println(double v) throws IOException 
 public  void updateDestination(DestinationFactory factory) 
 public  void write(int b) throws IOException 
 public  void write(byte[] b) throws IOException 
 public  void write(byte[] b,
    int off,
    int len) throws IOException