Uses of Class
dev.katsute.simplehttpserver.HttpSession
Package
Description
Contains core classes for using
SimpleHttpServer
.Contains throttlers for the
ThrottledHandler
.-
Uses of HttpSession in dev.katsute.simplehttpserver
Modifier and TypeMethodDescriptionfinal HttpSession
HttpSessionHandler.getSession
(HttpExchange exchange) Returns the session associated with a particular exchange. -
Uses of HttpSession in dev.katsute.simplehttpserver.handler.throttler
Modifier and TypeMethodDescriptionboolean
ServerSessionThrottler.canIgnoreConnectionLimit
(HttpSession session, SimpleHttpExchange exchange) If true, a session does not contribute to the total server connections and can bypass the maximum limit.int
ServerSessionThrottler.getMaxConnections
(HttpSession session, SimpleHttpExchange exchange) Returns the maximum number of connections allowed for a session.int
SessionThrottler.getMaxConnections
(HttpSession session, SimpleHttpExchange exchange) Returns the maximum number of connections allowed for a session.