Class WebSessionResources

java.lang.Object
org.apache.drill.exec.server.rest.WebSessionResources
All Implemented Interfaces:
AutoCloseable

public class WebSessionResources extends Object implements AutoCloseable
Holds the resources required for Web User Session. This class is responsible for the proper cleanup of all the resources.
  • Method Details

    • getSession

      public UserSession getSession()
    • getAllocator

      public BufferAllocator getAllocator()
    • getCloseFuture

      public io.netty.util.concurrent.Promise<Void> getCloseFuture()
    • getRemoteAddress

      public SocketAddress getRemoteAddress()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable