Interface H2WebServerWrapper


public interface H2WebServerWrapper
Provides programmatic access to otherwise protected H2 WebServer configuration.
  • Method Details

    • setConnectionInfo

      void setConnectionInfo(org.h2.server.web.ConnectionInfo connectionInfo)
      Update the connection information setting.
    • setAllowOthers

      void setAllowOthers(boolean b)
      Whether to allow other computers to connect.
    • getAllowOthers

      boolean getAllowOthers()
      Whether other computers are allowed to connect.
    • setAdminPassword

      void setAdminPassword(String password)
      Web Admin Password.
    • withH2WebServerWrapperDo

      static void withH2WebServerWrapperDo(@NonNull @NonNull org.h2.server.web.WebServlet webServlet, @NonNull @NonNull Consumer<H2WebServerWrapper> onConfiguration)