Package nxt.http

Class API


  • public final class API
    extends java.lang.Object
    • Field Detail

      • openAPIPort

        public static final int openAPIPort
      • openAPISSLPort

        public static final int openAPISSLPort
      • disabledAPIs

        public static final java.util.List<java.lang.String> disabledAPIs
      • disabledAPITags

        public static final java.util.List<APITag> disabledAPITags
      • adminPassword

        public static final java.lang.String adminPassword
      • apiServerIdleTimeout

        public static final int apiServerIdleTimeout
      • apiServerCORS

        public static final boolean apiServerCORS
    • Method Detail

      • init

        public static void init()
      • shutdown

        public static void shutdown()
      • checkPassword

        public static boolean checkPassword​(javax.servlet.http.HttpServletRequest req)
      • getWelcomePageUri

        public static java.net.URI getWelcomePageUri()
      • getServerRootUri

        public static java.net.URI getServerRootUri()