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
AnEmbeddedServer
that 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 ResteasyDeployment
getDeployment()
Returns the deployment being used for the server.void
start(jakarta.ws.rs.SeBootstrap.Configuration configuration)
Starts the server synchronously.void
stop()
Stops the server.
-
-
-
Method Detail
-
start
public void start(jakarta.ws.rs.SeBootstrap.Configuration configuration)
Description copied from interface:EmbeddedServer
Starts the server synchronously.- Specified by:
start
in interfaceEmbeddedServer
- Parameters:
configuration
- the configuration used to configure the server
-
stop
public void stop()
Description copied from interface:EmbeddedServer
Stops the server.- Specified by:
stop
in interfaceEmbeddedServer
-
getDeployment
public ResteasyDeployment getDeployment()
Description copied from interface:EmbeddedServer
Returns the deployment being used for the server.- Specified by:
getDeployment
in interfaceEmbeddedServer
- Returns:
- the deployment
-
-