org.apache.tinkerpop.gremlin.server.handler

## Class WsGremlinCloseRequestDecoder

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

-     public class WsGremlinCloseRequestDecoder
      extends <any>

  Handles close requests over web sockets. If the request is session-based then the close operation will not only close the channel but also close the session and rollback uncommitted transactions.
  Author:
    Stephen Mallette (http://stephen.genoprime.com)

- - ### Constructor Summary

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

  - ### Method Summary

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

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

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

- - ### Constructor Detail

    - #### WsGremlinCloseRequestDecoder

          public WsGremlinCloseRequestDecoder(Map<String,MessageSerializer> serializers)

  - ### Method Detail

    - #### decode

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

      Throws:
        `Exception`

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