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

    Modifier and Type
    Method
    Description
    Returns the deployment being used for the server.
    void
    start(jakarta.ws.rs.SeBootstrap.Configuration configuration)
    Starts the server synchronously.
    void
    Stops the server.
  • Method Details

    • 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