Class NullOutputBuffer
java.lang.Object
com.opensymphony.module.sitemesh.filter.NullOutputBuffer
- All Implemented Interfaces:
OutputBuffer
An outputBuffer that does nothing. If we cannot determine whether getWriter or
getOutputStream have been called, then return this object instead.
- Version:
- $Revision: 1.2 $
- Author:
- Scott Farquhar
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
nullOutputBuffer
-
-
Constructor Details
-
NullOutputBuffer
private NullOutputBuffer()
-
-
Method Details
-
getInstance
-
discardBuffer
public void discardBuffer()- Specified by:
discardBufferin interfaceOutputBuffer
-
getBuffer
- Specified by:
getBufferin interfaceOutputBuffer- Parameters:
encoding- The encoding to use for decoding the buffer
-
flush
public void flush()- Specified by:
flushin interfaceOutputBuffer
-