Registry / web-framework / jetty-annotations

jetty-annotations

JSON →
library12.1.8javamavenunverified

Jetty Annotations Artifact provides annotation-based configuration for Jetty server.

<dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-annotations</artifactId> <version>12.1.8</version> </dependency>
INSTALL
IMPORT
SIG · JETTY-ANNOTATIONS
J
jetty-annotations
web-frameworkjavav12.1.8
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.

AnnotationConfiguration
org.eclipse.jetty.annotations.AnnotationConfiguration

Configures Jetty with annotation support.

import org.eclipse.jetty.annotations.AnnotationConfiguration; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.webapp.WebAppContext; public class Main { public static void main(String[] args) throws Exception { Server server = new Server(8080); WebAppContext context = new WebAppContext(); context.setConfigurations(new AnnotationConfiguration()); server.setHandler(context); server.start(); System.out.println("Jetty server started"); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
12.1.8latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
jetty-annotations — mvn dependency:get jetty-annotations · libregistry