クラス WebOperationRequestPredicate
java.lang.ObjectSE
org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate
Web エンドポイントでの操作に対するリクエストの述語。
- 導入:
- 2.0.0
- 作成者:
- Andy Wilkinson
コンストラクターのサマリー
コンストラクター説明WebOperationRequestPredicate
(StringSE path, WebEndpointHttpMethod httpMethod, CollectionSE<StringSE> consumes, CollectionSE<StringSE> produces) 新しいOperationRequestPredicate
を作成します。メソッドのサマリー
コンストラクターの詳細
WebOperationRequestPredicate
public WebOperationRequestPredicate(StringSE path, WebEndpointHttpMethod httpMethod, CollectionSE<StringSE> consumes, CollectionSE<StringSE> produces) 新しいOperationRequestPredicate
を作成します。- パラメーター:
path
- 操作のパスhttpMethod
- 操作がサポートする HTTP メソッドproduces
- 操作が生成するメディア型consumes
- 操作が消費するメディア型
メソッドの詳細
getPath
操作のパスを返します。- 戻り値:
- パス
getMatchAllRemainingPathSegmentsVariable
残りのすべてのパスセグメントnull
をキャッチするために使用される変数の名前を返します。- 戻り値:
- 変数名
- 導入:
- 2.2.0
getHttpMethod
操作の HTTP メソッドを返します。- 戻り値:
- HTTP メソッド
getConsumes
操作が消費するメディア型を返します。- 戻り値:
- 消費されたメディア型
getProduces
操作が生成するメディア型を返します。- 戻り値:
- 作成されたメディア型
equals
hashCode
public int hashCode()toString