Package io.varhttp

Class Standalone

java.lang.Object
io.varhttp.Standalone
All Implemented Interfaces:
Runnable

@Deprecated public class Standalone extends Object implements Runnable
Deprecated.
Use undertow version instead. Since it has some bugs fixed and more features implemented(e.g. websockets)
  • Field Details

    • servlet

      protected VarServlet servlet
      Deprecated.
    • varConfig

      protected VarConfig varConfig
      Deprecated.
  • Constructor Details

  • Method Details

    • configure

      public void configure(Consumer<VarConfiguration> configuration)
      Deprecated.
    • registerServlet

      public void registerServlet(String path, jakarta.servlet.http.HttpServlet servlet)
      Deprecated.
    • run

      public void run()
      Deprecated.
      Specified by:
      run in interface Runnable
    • stop

      public void stop(Duration awaitTimeout)
      Deprecated.
    • getServlet

      public VarServlet getServlet()
      Deprecated.
    • getStarted

      public CompletableFuture<Boolean> getStarted()
      Deprecated.
    • setSslContext

      public void setSslContext(InputStream x509Certificate, InputStream privateKey)
      Deprecated.
    • setSslContext

      public void setSslContext(SSLContext sslContext)
      Deprecated.
    • setSslContext

      public void setSslContext(KeyStore keyStore, char[] password)
      Deprecated.
    • setExecutor

      public void setExecutor(ExecutorService executor)
      Deprecated.
      In case no executor is set the default one will be used: Executors.newCachedThreadPool
      Parameters:
      executor - an executor to be used to process HTTP requests