public class WsGremlinBinaryRequestDecoder
extends <any>
BinaryWebSocketFrame
. Binary-based frames assume that the format is encoded
in the first initial bytes of the message. From there the proper serializer can be chosen and the message
can then be deserialized.Constructor and Description |
---|
WsGremlinBinaryRequestDecoder(Map<String,MessageSerializer> serializers) |
Modifier and Type | Method and Description |
---|---|
protected void |
decode(ChannelHandlerContext channelHandlerContext,
BinaryWebSocketFrame frame,
List<Object> objects) |
MessageSerializer |
select(String mimeType,
MessageSerializer defaultSerializer) |
public WsGremlinBinaryRequestDecoder(Map<String,MessageSerializer> serializers)
protected void decode(ChannelHandlerContext channelHandlerContext, BinaryWebSocketFrame frame, List<Object> objects) throws Exception
Exception
public MessageSerializer select(String mimeType, MessageSerializer defaultSerializer)
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.