org.apache.tinkerpop.gremlin.server.handler

## Class WsGremlinTextRequestDecoder

- java.lang.Object
- - <any>
  - - org.apache.tinkerpop.gremlin.server.handler.WsGremlinTextRequestDecoder

-     public class WsGremlinTextRequestDecoder
      extends <any>

  Decodes the contents of a `TextWebSocketFrame`. Text-based frames are always assumed to be "application/json" when it comes to serialization.
  Author:
    Stephen Mallette (http://stephen.genoprime.com)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `WsGremlinTextRequestDecoder(Map<String,MessageSerializer<?>> serializers)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `decode(ChannelHandlerContext channelHandlerContext, TextWebSocketFrame frame, List<Object> objects)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### WsGremlinTextRequestDecoder

          public WsGremlinTextRequestDecoder(Map<String,MessageSerializer<?>> serializers)

  - ### Method Detail

    - #### decode

          protected void decode(ChannelHandlerContext channelHandlerContext,
                                TextWebSocketFrame frame,
                                List<Object> objects)
                         throws Exception

      Throws:
        `Exception`

Copyright © 2013–2021 Apache Software Foundation. All rights reserved.