Uses of Class
dev.katsute.simplehttpserver.SimpleHttpExchange
Packages that use 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
Methods in dev.katsute.simplehttpserver with parameters of type SimpleHttpExchangeModifier and TypeMethodDescriptionvoidSimpleHttpHandler.handle(SimpleHttpExchange exchange) Handles an exchange. -
Uses of SimpleHttpExchange in dev.katsute.simplehttpserver.handler
Methods in dev.katsute.simplehttpserver.handler with parameters of type SimpleHttpExchangeModifier and TypeMethodDescriptionfinal voidPredicateHandler.handle(SimpleHttpExchange exchange) final voidSSEHandler.handle(SimpleHttpExchange exchange) final voidTimeoutHandler.handle(SimpleHttpExchange exchange) Constructor parameters in dev.katsute.simplehttpserver.handler with type arguments of type SimpleHttpExchangeModifierConstructorDescriptionPredicateHandler(Predicate<SimpleHttpExchange> predicate, HttpHandler handlerIfTrue, HttpHandler handlerIfFalse) Creates a predicate handler. -
Uses of SimpleHttpExchange in dev.katsute.simplehttpserver.handler.file
Methods in dev.katsute.simplehttpserver.handler.file with parameters of type SimpleHttpExchangeModifier and TypeMethodDescriptionfinal voidFileHandler.handle(SimpleHttpExchange exchange) voidFileHandler.handle(SimpleHttpExchange exchange, File source, byte[] bytes) Handles a file exchange. -
Uses of SimpleHttpExchange in dev.katsute.simplehttpserver.handler.throttler
Methods in dev.katsute.simplehttpserver.handler.throttler with parameters of type SimpleHttpExchangeModifier and TypeMethodDescriptionbooleanServerExchangeThrottler.canIgnoreConnectionLimit(SimpleHttpExchange exchange) If true, an exchange does not contribute to the total server connections and can bypass the maximum limit.booleanServerSessionThrottler.canIgnoreConnectionLimit(HttpSession session, SimpleHttpExchange exchange) If true, a session does not contribute to the total server connections and can bypass the maximum limit.intExchangeThrottler.getMaxConnections(SimpleHttpExchange exchange) intServerExchangeThrottler.getMaxConnections(SimpleHttpExchange exchange) intServerSessionThrottler.getMaxConnections(HttpSession session, SimpleHttpExchange exchange) Returns the maximum number of connections allowed for a session.final intServerSessionThrottler.getMaxConnections(SimpleHttpExchange exchange) intSessionThrottler.getMaxConnections(HttpSession session, SimpleHttpExchange exchange) Returns the maximum number of connections allowed for a session.final intSessionThrottler.getMaxConnections(SimpleHttpExchange exchange) final voidThrottledHandler.handle(SimpleHttpExchange exchange)