Content

This section describes the providers that you can use to implement your application, such as webservices, redirects or static resources.

When running a genhttp-kt server, you need to pass the root handler that will be responsible to answer HTTP requests. You will typically start with a layout that allows to structure your web application and add some of the handlers below to achieve the required functionality to this layout.

This page lists all handlers that are provided by the framework. To implement new functionality, you can also implement custom handlers.

Application Frameworks

Concerns

Handlers

Concepts

Modules

genhttp-full contains every module. With genhttp-core - the engine with the IO, layouting and practices modules - add the modules you need. genhttp-full-netty and genhttp-core-netty are the same on the Netty engine. All of them are published to Maven Central with the group org.genhttp and the version 11.1.0.3.

ArtifactPackageDocumentation
genhttp-modules-api-browsingorg.genhttp.modules.apibrowsingAPI Browsing
genhttp-modules-archivesorg.genhttp.modules.archivesResources
genhttp-modules-authenticationorg.genhttp.modules.authenticationAuthentication
genhttp-modules-client-cachingorg.genhttp.modules.clientcachingClient Caching
genhttp-modules-compressionorg.genhttp.modules.compressionCompression
genhttp-modules-controllersorg.genhttp.modules.controllersControllers
genhttp-modules-conversionorg.genhttp.modules.conversionMethod Definitions
genhttp-modules-dependency-injectionorg.genhttp.modules.dependencyinjectionDependency Injection
genhttp-modules-directory-browsingorg.genhttp.modules.directorybrowsingDirectory Browsing
genhttp-modules-error-handlingorg.genhttp.modules.errorhandlingError Handling
genhttp-modules-filesorg.genhttp.modules.filesFiles
genhttp-modules-functionalorg.genhttp.modules.functionalFunctional Handlers
genhttp-modules-i18norg.genhttp.modules.i18nLocalization
genhttp-modules-inspectionorg.genhttp.modules.inspectionInspection
genhttp-modules-ioorg.genhttp.modules.ioContent, Resources
genhttp-modules-layoutingorg.genhttp.modules.layoutingLayouting
genhttp-modules-load-balancingorg.genhttp.modules.loadbalancingLoad Balancer
genhttp-modules-open-apiorg.genhttp.modules.openapiOpen API
genhttp-modules-pagesorg.genhttp.modules.pagesPages
genhttp-modules-practicesorg.genhttp.modules.practicesDefaults
genhttp-modules-protobuforg.genhttp.modules.protobufMethod Definitions
genhttp-modules-redirectsorg.genhttp.modules.redirectsRedirects
genhttp-modules-reflectionorg.genhttp.modules.reflectionMethod Definitions
genhttp-modules-reverse-proxyorg.genhttp.modules.reverseproxyReverse Proxies
genhttp-modules-securityorg.genhttp.modules.securityCORS, Hardening
genhttp-modules-server-sent-eventsorg.genhttp.modules.serversenteventsServer Sent Events
genhttp-modules-single-page-applicationsorg.genhttp.modules.singlepageapplicationsSingle Page Applications
genhttp-modules-static-websitesorg.genhttp.modules.staticwebsitesStatic Websites
genhttp-modules-virtual-hostingorg.genhttp.modules.virtualhostingVirtual Hosts
genhttp-modules-webservicesorg.genhttp.modules.webservicesWebservices
genhttp-modules-websocketsorg.genhttp.modules.websocketsWebsockets