クラス ReactiveWebServerInitializedEvent

実装されたすべてのインターフェース:
SerializableSE

public class ReactiveWebServerInitializedEvent extends WebServerInitializedEvent
WebServer の準備ができた後に公開されるイベント。実行中のサーバーのローカルポートを取得できます。
導入:
2.0.0
作成者:
Brian Clozel, Stephane Nicoll
関連事項:
  • コンストラクターの詳細

  • メソッドの詳細

    • getApplicationContext

      public ReactiveWebServerApplicationContext getApplicationContext()
      クラスからコピーされた説明: WebServerInitializedEvent
      サーバーが作成されたアプリケーションコンテキストにアクセスします。サーバー自体に作用する前に、これが期待と一致している(現在のコンテキストと等しいなど)ことを確認するのが実用的な場合があります。
      次で指定:
      クラス WebServerInitializedEventgetApplicationContext 
      戻り値:
      サーバーの作成元の applicationContext