Registry / web-framework / undertow-servlet

undertow-servlet

JSON →
library2.3.24.Finaljavamavenunverified

Undertow is a flexible, high-performance web server providing both blocking and non-blocking APIs, with servlet support.

<dependency> <groupId>io.undertow</groupId> <artifactId>undertow-servlet</artifactId> <version>2.3.24.Final</version> </dependency>
INSTALL
IMPORT
SIG · UNDERTOW-SERVLET
U
undertow-servlet
web-frameworkjavav2.3.24.Final
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.

DeploymentInfo
io.undertow.servlet.api.DeploymentInfo

Starts an Undertow server with a servlet deployment.

import io.undertow.Undertow; import io.undertow.servlet.api.DeploymentInfo; import io.undertow.servlet.api.DeploymentManager; import io.undertow.servlet.Servlets; public class Main { public static void main(String[] args) { DeploymentInfo servletBuilder = Servlets.deployment() .setClassLoader(Main.class.getClassLoader()) .setContextPath("/myapp") .setDeploymentName("test.war"); DeploymentManager manager = Servlets.defaultContainer().addDeployment(servletBuilder); manager.deploy(); Undertow server = Undertow.builder() .addHttpListener(8080, "localhost") .setHandler(manager.start()) .build(); server.start(); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.3.24.Finallatest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Bingbot
1
Resources
undertow-servlet — mvn dependency:get undertow-servlet · libregistry