クラス SpringAffordanceBuilder

java.lang.ObjectSE
org.springframework.hateoas.server.core.SpringAffordanceBuilder

public class SpringAffordanceBuilder extends ObjectSE
Spring MVC Web メソッドから Affordance を組み立てるために必要な情報を抽出します。
作成者:
Greg Turnquist, Oliver Drotbohm
  • フィールドの詳細

  • コンストラクターの詳細

    • SpringAffordanceBuilder

      public SpringAffordanceBuilder()
  • メソッドの詳細

    • getAffordances

      public static ListSE<Affordance> getAffordances(ClassSE<?> type, MethodSE method, StringSE href)
      指定された型のメソッドとベース URI のすべての Affordance を返します。
      パラメーター:
      type - null であってはなりません。
      method - null であってはなりません。
      href - null または空であってはなりません。
      戻り値:
    • getMapping

      @Nullable @DeprecatedSE public static StringSE getMapping(ClassSE<?> type, MethodSE method)
      使用すべきではありません。
      2.0 以降、代わりに getUriMapping(Class, Method) を使用してください。
      指定された型のメソッドのマッピングを返します。
      パラメーター:
      type - null であってはなりません。
      method - null であってはなりません。
      戻り値:
    • getUriMapping

      public static UriMapping getUriMapping(ClassSE<?> type, MethodSE method)
      指定された型のメソッドのマッピングを返します。
      パラメーター:
      type - null であってはなりません。
      method - null であってはなりません。
      戻り値:
      導入:
      2.0