Package dev.resteasy.embedded.server
Class UndertowCdiEmbeddedServer
- java.lang.Object
-
- dev.resteasy.embedded.server.UndertowCdiEmbeddedServer
-
- All Implemented Interfaces:
EmbeddedServer
@Priority(100) public class UndertowCdiEmbeddedServer extends Object implements EmbeddedServer
AnEmbeddedServerthat uses Undertow and enables CDI support.- Since:
- 6.1
- Author:
- James R. Perkins
-
-
Constructor Summary
Constructors Constructor Description UndertowCdiEmbeddedServer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResteasyDeploymentgetDeployment()Returns the deployment being used for the server.voidstart(jakarta.ws.rs.SeBootstrap.Configuration configuration)Starts the server synchronously.voidstop()Stops the server.
-
-
-
Method Detail
-
start
public void start(jakarta.ws.rs.SeBootstrap.Configuration configuration)
Description copied from interface:EmbeddedServerStarts the server synchronously.- Specified by:
startin interfaceEmbeddedServer- Parameters:
configuration- the configuration used to configure the server
-
stop
public void stop()
Description copied from interface:EmbeddedServerStops the server.- Specified by:
stopin interfaceEmbeddedServer
-
getDeployment
public ResteasyDeployment getDeployment()
Description copied from interface:EmbeddedServerReturns the deployment being used for the server.- Specified by:
getDeploymentin interfaceEmbeddedServer- Returns:
- the deployment
-
-