Top Description Inners Methods
io.undertow.servlet.api

public Interface DeploymentManager

Known Direct Implementers
io.undertow.servlet.core.DeploymentManagerImpl
Imports
jakarta.servlet.ServletException, io.undertow.server.HttpHandler

Manager that can be used to deploy and undeploy a servlet deployment.
Author
Stuart Douglas

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum

Method Summary

Modifier and TypeMethod and Description
public void
deploy()

Perform the initial deployment.

public Deployment
public DeploymentManager.State
public HttpHandler
start()

Starts the container.

public void
stop()

public void

Method Detail

deployback to summary
public void deploy()

Perform the initial deployment. The builds all the internal metadata needed to support the servlet deployment, but will not actually start any servlets

getDeploymentback to summary
public Deployment getDeployment()
getStateback to summary
public DeploymentManager.State getState()
startback to summary
public HttpHandler start() throws ServletException

Starts the container. Any Servlets with init on startup will be created here. This method returns the servlet path handler, which must then be added into the appropriate place in the path handler tree.

stopback to summary
public void stop() throws ServletException
undeployback to summary
public void undeploy()
io.undertow.servlet.api back to summary

public final Enum DeploymentManager.State

extends Enum<DeploymentManager.State>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final DeploymentManager.State
public static final DeploymentManager.State
public static final DeploymentManager.State

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static DeploymentManager.State
public static DeploymentManager.State[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

DEPLOYEDback to summary
public static final DeploymentManager.State DEPLOYED
STARTEDback to summary
public static final DeploymentManager.State STARTED
UNDEPLOYEDback to summary
public static final DeploymentManager.State UNDEPLOYED

Constructor Detail

Stateback to summary
private State()

Method Detail

valueOfback to summary
public static DeploymentManager.State valueOf(String name)
valuesback to summary
public static DeploymentManager.State[] values()