com.sun.grizzly.websockets
Class WebSocketOutputFilter
java.lang.Object
com.sun.grizzly.websockets.WebSocketOutputFilter
- All Implemented Interfaces:
- OutputFilter, OutputBuffer
public class WebSocketOutputFilter
- extends Object
- implements OutputFilter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebSocketOutputFilter
public WebSocketOutputFilter()
doWrite
public int doWrite(ByteChunk chunk,
Response unused)
throws IOException
- Specified by:
doWrite in interface OutputFilter- Specified by:
doWrite in interface OutputBuffer
- Throws:
IOException
setResponse
public void setResponse(Response response)
- Specified by:
setResponse in interface OutputFilter
recycle
public void recycle()
- Specified by:
recycle in interface OutputFilter
getEncodingName
public ByteChunk getEncodingName()
- Specified by:
getEncodingName in interface OutputFilter
setBuffer
public void setBuffer(OutputBuffer buffer)
- Specified by:
setBuffer in interface OutputFilter
end
public long end()
throws IOException
- Specified by:
end in interface OutputFilter
- Throws:
IOException
Copyright © 2011 Oracle Corpration. All Rights Reserved.