Class HttpServerConnection

java.lang.Object
org.sblim.wbem.http.HttpServerConnection
All Implemented Interfaces:
Runnable

public class HttpServerConnection extends Object implements Runnable
Class HttpServerConnection implements the outer shell of a HTTP server. It accepts incoming connections and puts them in a queue to be serviced by an independent thread
  • Constructor Details

  • Method Details

    • setName

      public void setName(String name)
      Set the name of the thread
      Parameters:
      name - The name
    • getPort

      public int getPort()
      Returns the port
      Returns:
      The port
    • getHostIP

      public String getHostIP() throws UnknownHostException
      Returns the host ip
      Returns:
      The host ip
      Throws:
      UnknownHostException
    • isSSL

      public boolean isSSL()
      Returns if SSL is enanbled
      Returns:
      true if SSL is enabled
    • start

      public void start()
      Starts the server thread
    • run

      public void run()
      Specified by:
      run in interface Runnable
    • close

      public void close()
      Shuts down the server