Package-level declarations
Types
Static class interface which equips a Micronaut application with extra initialization features powered by Elide; to use, simply enforce that your entrypoint object complies with this interface.
Typealias for a registered string which is used as an Asset Module ID.
Raw streamed file wrapper, after unwrapping the type.
Raw streamed asset response, used internally for assets.
Raw bytes body type used internally by Elide.
Raw bytes response typealias used internally by Elide.
Describes a handler object which can respond to a request with a given ResponseBody type; these throw-away handlers are typically spawned by utility functions to create a context where rendering can take place.
Affixed to classes which initialize Elide server instances.
Raw streamed file alias, used internally for assets.
Raw streamed file response, used internally for assets with a type attached.
Describes the expected interface for a streaming response rendered via co-routines.
Describes the expected interface for a response rendering object which leverages co-routines.
Functions
Responds to a client with an HTML response, using specified block to build an HTML page via Kotlin's HTML DSL.
Generates a <body>
script link from the provided handler uri, optionally including the specified attrs.
Load and serve a JavaScript bundle server-side, executing it within the context of an isolated GraalVM JavaScript runtime; then, collect the output and return it as an HTTP response, within the provided HTML builder, which will be used to render the initial page frame.
Serve a static file which is embedded in the application JAR, at the path /static/[file]
.