クラス CollectionJsonLinkDiscoverer
java.lang.ObjectSE
org.springframework.hateoas.client.JsonPathLinkDiscoverer
org.springframework.hateoas.mediatype.collectionjson.CollectionJsonLinkDiscoverer
- 実装されたすべてのインターフェース:
LinkDiscoverer
,org.springframework.plugin.core.Plugin<MediaType>
JSON Collection リンク構造に基づく
LinkDiscoverer
実装。注: リンクは Collection+JSON ドキュメント内の 2 つの異なる場所に表示される可能性があるため、このディスカバーでは 2 つの場所を使用します。- 作成者:
- Greg Turnquist, Oliver Drotbohm
コンストラクターのサマリー
メソッドのサマリー
修飾子と型メソッド説明findLinksWithRel
(LinkRelation relation, InputStreamSE representation) 指定されたInputStream
SE 表現で見つかった指定されたLinkRelation
を持つすべてのリンクを返します。findLinksWithRel
(LinkRelation relation, StringSE representation) 指定されたString
SE 表現で見つかった指定されたLinkRelation
を持つすべてのリンクを返します。findLinkWithRel
(LinkRelation relation, InputStreamSE representation) 指定されたInputStream
SE 表現で指定されたLinkRelation
を持つ単一のリンクを検索します。findLinkWithRel
(LinkRelation relation, StringSE representation) 指定されたString
SE 表現で指定されたLinkRelation
を持つ単一のリンクを検索します。クラス org.springframework.hateoas.client.JsonPathLinkDiscoverer から継承されたメソッド
extractLink, supports
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.hateoas.client.LinkDiscoverer から継承されたメソッド
findLinksWithRel, findLinksWithRel, findLinkWithRel, findLinkWithRel, findRequiredLinkWithRel, findRequiredLinkWithRel
コンストラクターの詳細
CollectionJsonLinkDiscoverer
public CollectionJsonLinkDiscoverer()
メソッドの詳細
findLinkWithRel
インターフェースからコピーされた説明:LinkDiscoverer
指定されたString
SE 表現で指定されたLinkRelation
を持つ単一のリンクを検索します。- 次で指定:
- インターフェース
LinkDiscoverer
のfindLinkWithRel
- オーバーライド:
- クラス
JsonPathLinkDiscoverer
のfindLinkWithRel
- パラメーター:
relation
- null であってはなりません。representation
- null であってはなりません。- 戻り値:
- 指定された関係型が見つかった最初のリンク、または何も見つからない場合は
Optional.empty()
。
findLinkWithRel
インターフェースからコピーされた説明:LinkDiscoverer
指定されたInputStream
SE 表現で指定されたLinkRelation
を持つ単一のリンクを検索します。- 次で指定:
- インターフェース
LinkDiscoverer
のfindLinkWithRel
- オーバーライド:
- クラス
JsonPathLinkDiscoverer
のfindLinkWithRel
- パラメーター:
relation
- null であってはなりません。representation
- null であってはなりません。- 戻り値:
- 指定された
LinkRelation
が見つかった最初のLink
、または見つからなかった場合はOptional.empty()
。
findLinksWithRel
インターフェースからコピーされた説明:LinkDiscoverer
指定されたString
SE 表現で見つかった指定されたLinkRelation
を持つすべてのリンクを返します。- 次で指定:
- インターフェース
LinkDiscoverer
のfindLinksWithRel
- オーバーライド:
- クラス
JsonPathLinkDiscoverer
のfindLinksWithRel
- パラメーター:
relation
- null であってはなりません。representation
- null であってはなりません。- 戻り値:
- null になることはありません。
findLinksWithRel
インターフェースからコピーされた説明:LinkDiscoverer
指定されたInputStream
SE 表現で見つかった指定されたLinkRelation
を持つすべてのリンクを返します。- 次で指定:
- インターフェース
LinkDiscoverer
のfindLinksWithRel
- オーバーライド:
- クラス
JsonPathLinkDiscoverer
のfindLinksWithRel
- パラメーター:
relation
- null であってはなりません。representation
- null であってはなりません。- 戻り値:
- null になることはありません。