Class KristenHttpServerParameters

    • Method Detail

      • getUriPath

        public String getUriPath()
        Returns the URI path used for the default HTTP context.
        Returns:
        the URI path
      • getCorePoolSize

        public int getCorePoolSize()
        Returns the core number of threads used to process HTTP requests.
        Returns:
        the core thread pool size
      • getMaximumPoolSize

        public int getMaximumPoolSize()
        Returns the maximum number of threads used to process HTTP requests.
        Returns:
        the maximum thread pool size
      • getKeepAliveTime

        public long getKeepAliveTime()
        Returns the amount of time excess idle threads may remain alive.
        Returns:
        the thread keep-alive time
      • getTimeUnit

        public TimeUnit getTimeUnit()
        Returns the time unit used for the thread keep-alive time.
        Returns:
        the keep-alive time unit
      • getEventHandlers

        public List<KristenHttpServerEventHandler> getEventHandlers()
        Returns the HTTP server event handlers.
        Returns:
        an unmodifiable list of HTTP server event handlers