Class WebSocketServer.SocketHttpSession

  • All Implemented Interfaces:
    fi.iki.elonen.NanoHTTPD.IHTTPSession
    Enclosing class:
    WebSocketServer

    protected class WebSocketServer.SocketHttpSession
    extends java.lang.Object
    Http session containing the socket.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.net.Socket socket
      The connection socket.
    • Constructor Summary

      Constructors 
      Constructor Description
      SocketHttpSession​(fi.iki.elonen.NanoHTTPD.TempFileManager tempfilemanager, java.io.InputStream inputstream, java.io.OutputStream outputstream, java.net.Socket socket)
      Create the session.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.Socket getSocket()
      Gets the socket.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • socket

        protected java.net.Socket socket
        The connection socket.
    • Constructor Detail

      • SocketHttpSession

        public SocketHttpSession​(fi.iki.elonen.NanoHTTPD.TempFileManager tempfilemanager,
                                 java.io.InputStream inputstream,
                                 java.io.OutputStream outputstream,
                                 java.net.Socket socket)
        Create the session.
    • Method Detail

      • getSocket

        public java.net.Socket getSocket()
        Gets the socket.
        Returns:
        The socket.