Interface EmbeddedServer
-
- All Known Subinterfaces:
EmbeddedJaxrsServer<T>
- All Known Implementing Classes:
CdiNettyJaxrsServer,NettyJaxrsServer,ReactorNettyJaxrsServer,SunHttpJaxrsServer,UndertowCdiEmbeddedServer,UndertowJaxrsServer,VertxJaxrsServer
public interface EmbeddedServerAn embedded server for serving Jakarta REST endpoints.- Since:
- 6.1
- Author:
- James R. Perkins
-
-
Method Summary
All Methods Instance Methods Abstract 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
void start(jakarta.ws.rs.SeBootstrap.Configuration configuration)
Starts the server synchronously.- Parameters:
configuration- the configuration used to configure the server
-
stop
void stop()
Stops the server.
-
getDeployment
ResteasyDeployment getDeployment()
Returns the deployment being used for the server.- Returns:
- the deployment
-
-