クラス WebServerNamespace

java.lang.ObjectSE
org.springframework.boot.actuate.endpoint.web.WebServerNamespace

public final class WebServerNamespace extends ObjectSE
複数の Web サーバーが同じアプリケーションで実行されている場合 (たとえば、異なるポートで実行されている管理コンテキスト) に、区別のために使用される Web サーバーの名前空間。
導入:
2.6.0
作成者:
Phillip Webb, Madhura Bhave
  • フィールドの詳細

  • メソッドの詳細

    • getValue

      public StringSE getValue()
      名前空間の値を返します。
      戻り値:
    • equals

      public boolean equals(ObjectSE obj)
      オーバーライド:
      クラス ObjectSEequalsSE 
    • hashCode

      public int hashCode()
      オーバーライド:
      クラス ObjectSEhashCode 
    • toString

      public StringSE toString()
      オーバーライド:
      クラス ObjectSEtoString 
    • from

      public static WebServerNamespace from(@Nullable ApplicationContext context)
      Factory method to create a new WebServerNamespace from a value. If the context is null or not a web server context then SERVER is returned.
      パラメーター:
      context - アプリケーションコンテキスト
      戻り値:
      Web サーバーの名前空間
      導入:
      4.0.1
    • from

      public static WebServerNamespace from(@Nullable StringSE value)
      値から新しい WebServerNamespace を作成するファクトリメソッド。値が空または null の場合は、SERVER が返されます。
      パラメーター:
      value - 名前空間の値または null
      戻り値:
      Web サーバーの名前空間