Package com.sun.identity.config
Class SetupWriter
- java.lang.Object
-
- java.io.Writer
-
- com.sun.identity.config.SetupWriter
-
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
public class SetupWriter extends Writer
java.io.Writerimplementation to allow a thread to dump messages in a http response writer owned by another thread. Currently used by AJAX spun threads to send progress log to be displayed on the page tha invoked the AJAX calls.
-
-
Constructor Summary
Constructors Constructor Description SetupWriter(Writer wt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()voidrealFlush()voidwrite(char[] b, int off, int len)
-
-
-
Constructor Detail
-
SetupWriter
public SetupWriter(Writer wt)
-
-
Method Detail
-
write
public void write(char[] b, int off, int len) throws IOException- Specified by:
writein classWriter- Throws:
IOException
-
flush
public void flush() throws IOException- Specified by:
flushin interfaceFlushable- Specified by:
flushin classWriter- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classWriter- Throws:
IOException
-
realFlush
public void realFlush()
-
-