Uses of Class
dev.katsute.simplehttpserver.SimpleHttpExchange
Package
Description
Contains core classes for using
SimpleHttpServer
.Contains handlers that can be use with a
HttpServer
or a SimpleHttpServer
.Contains support classes for the
FileHandler
.Contains throttlers for the
ThrottledHandler
.-
Uses of SimpleHttpExchange in dev.katsute.simplehttpserver
Modifier and TypeMethodDescriptionvoid
SimpleHttpHandler.handle
(SimpleHttpExchange exchange) Handles an exchange. -
Uses of SimpleHttpExchange in dev.katsute.simplehttpserver.handler
Modifier and TypeMethodDescriptionfinal void
PredicateHandler.handle
(SimpleHttpExchange exchange) final void
SSEHandler.handle
(SimpleHttpExchange exchange) final void
TimeoutHandler.handle
(SimpleHttpExchange exchange) ModifierConstructorDescriptionPredicateHandler
(Predicate<SimpleHttpExchange> predicate, HttpHandler handlerIfTrue, HttpHandler handlerIfFalse) Creates a predicate handler. -
Uses of SimpleHttpExchange in dev.katsute.simplehttpserver.handler.file
Modifier and TypeMethodDescriptionfinal void
FileHandler.handle
(SimpleHttpExchange exchange) void
FileHandler.handle
(SimpleHttpExchange exchange, File source, byte[] bytes) Handles a file exchange. -
Uses of SimpleHttpExchange in dev.katsute.simplehttpserver.handler.throttler
Modifier and TypeMethodDescriptionboolean
ServerExchangeThrottler.canIgnoreConnectionLimit
(SimpleHttpExchange exchange) If true, an exchange does not contribute to the total server connections and can bypass the maximum limit.boolean
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
ExchangeThrottler.getMaxConnections
(SimpleHttpExchange exchange) int
ServerExchangeThrottler.getMaxConnections
(SimpleHttpExchange exchange) int
ServerSessionThrottler.getMaxConnections
(HttpSession session, SimpleHttpExchange exchange) Returns the maximum number of connections allowed for a session.final int
ServerSessionThrottler.getMaxConnections
(SimpleHttpExchange exchange) int
SessionThrottler.getMaxConnections
(HttpSession session, SimpleHttpExchange exchange) Returns the maximum number of connections allowed for a session.final int
SessionThrottler.getMaxConnections
(SimpleHttpExchange exchange) final void
ThrottledHandler.handle
(SimpleHttpExchange exchange)