api

http4k / org.http4k.cloudnative

Package org.http4k.cloudnative

Types

Name Summary
Http4kK8sServer class Http4kK8sServer : Http4kServer
A K8S server consists of a main application and a health application, running on 2 different ports. This class provides unified start/stop control.

Exceptions

Name Summary
ClientTimeout class ClientTimeout : UpstreamRequestFailed
GatewayTimeout class GatewayTimeout : UpstreamRequestFailed
NotFound class NotFound : UpstreamRequestFailed
UpstreamRequestFailed open class UpstreamRequestFailed : RuntimeException
This hierarchy of exceptions should be used to indicate that an upstream remote system has failed with a non-successful status code which caused us to stop processing. They are designed to be used with the Server and Client filters which will allow automatic handling and propagation of erroneous responses from upstream.

Extensions for External Classes

Name Summary
kotlin.Function1