RequestExecutionInputs

Execution Inputs: Server Request

Implements ExecutionInputs for a server-side request execution. Request executions fulfill SSR-style serving requests via a guest VM execution. This interface is implemented with generic types to allow multiple higher-order server interfaces to be supported via a single VM dispatch system.

 

Request State

HTTP request state includes such variables as the path, method, headers, and cookies, and so on. Each are provided by this interface. See method or property documentation for more information.

Parameters

Request

concrete request type adapted by an implementor of this interface.

See also

Micronaut implementation of this interface.

Inheritors

Types

Link copied to clipboard
object Defaults

Default values to use for request inputs.

Functions

Link copied to clipboard
open override fun allInputs(): Array<Any>
Link copied to clipboard
open fun buildArguments(): Array<out Any>

TBD.

Link copied to clipboard
open fun path(): String

The HTTP path of the request. Should always begin with a /. Null values are not allowed; if no value is available the default value of / should be used.

Link copied to clipboard
abstract fun request(): Request

The underlying request object mapped by this set of execution inputs may be used on the privileged side of the VM border for caching, logging, or other purposes. Implementations are not encouraged to expose this property to the underlying VM.