Class Jackson2JsonpInterceptor.DoNotCloseDelegateOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.io.BufferedOutputStream
org.jboss.resteasy.plugins.providers.jackson.Jackson2JsonpInterceptor.DoNotCloseDelegateOutputStream
- All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
- Enclosing class:
Jackson2JsonpInterceptor
private static class Jackson2JsonpInterceptor.DoNotCloseDelegateOutputStream
extends BufferedOutputStream
This subclass of
CommitHeaderOutputStream overrides the close() method so it would commit
the headers only, without actually calling the close() method of the delegate OutputStream- Version:
- $Revision: 1 $
-
Field Summary
Fields inherited from class BufferedOutputStream
buf, countFields inherited from class FilterOutputStream
out -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class BufferedOutputStream
flush, write, writeMethods inherited from class FilterOutputStream
writeMethods inherited from class OutputStream
nullOutputStream
-
Constructor Details
-
DoNotCloseDelegateOutputStream
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterOutputStream- Throws:
IOException
-