automorph.transport.http.endpoint
Members list
Type members
Classlikes
final case class UndertowHttpEndpoint[Effect[_]](effectSystem: EffectSystem[Effect], mapException: Throwable => Int, handler: RequestHandler[Effect, Context]) extends HttpHandler, EndpointTransport[Effect, Context, HttpHandler]
Undertow HTTP endpoint transport plugin.
Undertow HTTP endpoint transport plugin.
Interprets HTTP request body as an RPC request and processes it using the specified RPC request handler.
- The response returned by the RPC request handler is used as HTTP response body.
Type parameters
- Effect
-
effect type
Value parameters
- effectSystem
-
effect system plugin
- handler
-
RPC request handler
- mapException
-
maps an exception to a corresponding HTTP status code
Attributes
- Constructor
-
Creates an Undertow HTTP endpoint message transport plugin with specified effect system and request handler.
- See also
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait HttpHandlerclass Objecttrait Matchableclass AnyShow all
object UndertowHttpEndpoint
Attributes
- Companion
- class
- Supertypes
- Self type
-
UndertowHttpEndpoint.type
In this article