Package com.hexagonkt.http.server
This package defines the classes used in the HTTP DSL.
See: Description
-
Class Summary Class Description Call HTTP request context. CorsSettings HTTP CORS setting. Request Lists would be initialized loading all elements when they are used (set it as lazy in implementations) this will have a performance penalty in favor of ease of use. FilterHandler Handler for given FilterOrder for executing the callback. RouteHandler Handler for routes on HTTP methods. ExceptionHandler Handler for exceptions on the given route. CodeHandler Handler for a given status code on the given route. ResourceHandler Handler for URL resources. FileHandler Handler for file. PathHandler Handler for nested routes. RequestHandler Base class for request handlers. Response Check 'Request' comment. Router Creates and initializes a Router based on a code block. Server Server that listen to HTTP connections on a port and address and route requests using a router. ServerSettings Holds server settings info. Session Provides session information. PortHttpServerSamplesTest ServersKt -
Enum Summary Enum Description FilterOrder Type of filter. ServerFeature Toolkit feature that may or may not be implemented by a server adapter. -
Interface Summary Interface Description RequestPort MapInterface ResponsePort ServerPort Server instance of one kind. SessionPort -
Object Summary Object Description Companion UnsupportedSessionAdapter