Registry / web-framework / micronaut-http-server

micronaut-http-server

JSON →
library5.0.2javamavenunverified

Core components for building HTTP servers with the Micronaut framework.

<dependency> <groupId>io.micronaut</groupId> <artifactId>micronaut-http-server</artifactId> <version>5.0.2</version> </dependency>
INSTALL
IMPORT
SIG · MICRONAUT-HTTP-SER
M
micronaut-http-server
web-frameworkjavav5.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Controller
io.micronaut.http.annotation.Controller

Defines a simple REST controller that returns 'Hello World'.

import io.micronaut.http.annotation.Controller; import io.micronaut.http.annotation.Get; @Controller("/hello") public class HelloController { @Get public String hello() { return "Hello World"; } }
Debug
Known issues
gotchaMicronaut uses compile-time dependency injection; ensure annotation processors are configured.
fix
Add the Micronaut annotation processor to your build configuration (e.g., Maven or Gradle).
affects: all
Upgrade
Version history
5.0.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
micronaut-http-server — mvn dependency:get micronaut-http-server · libregistry