com.ning.http.client.providers.netty.netty4
Class BinaryWebSocketFrame
java.lang.Object
com.ning.http.client.providers.netty.netty4.WebSocketFrame
com.ning.http.client.providers.netty.netty4.BinaryWebSocketFrame
public class BinaryWebSocketFrame
- extends WebSocketFrame
Web Socket frame containing binary data
- Author:
- Vibul Imtarnasan
Constructor Summary |
BinaryWebSocketFrame()
Creates a new empty binary frame. |
BinaryWebSocketFrame(boolean finalFragment,
int rsv,
org.jboss.netty.buffer.ChannelBuffer binaryData)
Creates a new binary frame with the specified binary data and the final
fragment flag. |
BinaryWebSocketFrame(org.jboss.netty.buffer.ChannelBuffer binaryData)
Creates a new binary frame with the specified binary data. |
BinaryWebSocketFrame
public BinaryWebSocketFrame()
- Creates a new empty binary frame.
BinaryWebSocketFrame
public BinaryWebSocketFrame(org.jboss.netty.buffer.ChannelBuffer binaryData)
- Creates a new binary frame with the specified binary data. The final
fragment flag is set to true.
- Parameters:
binaryData
- the content of the frame.
BinaryWebSocketFrame
public BinaryWebSocketFrame(boolean finalFragment,
int rsv,
org.jboss.netty.buffer.ChannelBuffer binaryData)
- Creates a new binary frame with the specified binary data and the final
fragment flag.
- Parameters:
finalFragment
- flag indicating if this frame is the final fragmentrsv
- reserved bits used for protocol extensionsbinaryData
- the content of the frame.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012. All Rights Reserved.