Uses of Interface
dev.katsute.simplehttpserver.SimpleHttpHandler
Package
Description
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 SimpleHttpHandler in dev.katsute.simplehttpserver.handler
Modifier and TypeClassDescriptionclass
Handler that process requests based on the result of a predicate.class
By default, exchanges will look for the closest matching context for their handler, this consequently means that the root index/
would catch any requests without a handler instead of returning a code 404.class
A Server sent events (SSE) handler sends events from the server to a client using antext/event-stream
.class
The timeout handler runs a handler and times out after a set time. -
Uses of SimpleHttpHandler in dev.katsute.simplehttpserver.handler.file
Modifier and TypeClassDescriptionclass
A file handler can be used to serve single or multiple files on a server with optional pre/post processing usingFileAdapter
s. -
Uses of SimpleHttpHandler in dev.katsute.simplehttpserver.handler.throttler
Modifier and TypeClassDescriptionclass
The throttled handler limits how many simultaneous connections are allowed at any given time.