com.caucho.remote.websocket
Class WebSocketPrintWriter

java.lang.Object
  extended by java.io.Writer
      extended by java.io.PrintWriter
          extended by com.caucho.remote.websocket.WebSocketPrintWriter
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable, java.lang.Appendable

public class WebSocketPrintWriter
extends java.io.PrintWriter

WebSocketOutputStream writes a single WebSocket packet.

 


Field Summary
 
Fields inherited from class java.io.PrintWriter
out
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
WebSocketPrintWriter(WebSocketWriter out)
           
 
Method Summary
 void close()
           
 
Methods inherited from class java.io.PrintWriter
append, append, append, checkError, clearError, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebSocketPrintWriter

public WebSocketPrintWriter(WebSocketWriter out)
                     throws java.io.IOException
Throws:
java.io.IOException
Method Detail

close

public void close()
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.PrintWriter