Interface EmbeddedServer
-
- All Known Subinterfaces:
EmbeddedJaxrsServer<T>
- All Known Implementing Classes:
CdiNettyJaxrsServer
,NettyJaxrsServer
,ReactorNettyJaxrsServer
,SunHttpJaxrsServer
,UndertowCdiEmbeddedServer
,UndertowJaxrsServer
,VertxJaxrsServer
public interface EmbeddedServer
An 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 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
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
-
-