クラス JerseyEndpointResourceFactory
java.lang.ObjectSE
org.springframework.boot.jersey.actuate.endpoint.web.JerseyEndpointResourceFactory
web endpoint operations の Jersey Resources を作成するためのファクトリ。- 導入:
- 4.0.0
- 作成者:
- Andy Wilkinson, Phillip Webb
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明CollectionSE<org.glassfish.jersey.server.model.Resource> createEndpointResources(EndpointMapping endpointMapping, CollectionSE<ExposableWebEndpoint> endpoints, EndpointMediaTypes endpointMediaTypes, EndpointLinksResolver linksResolver, boolean shouldRegisterLinks) 指定されたwebEndpointsの操作用にResourcesを作成します。protected org.glassfish.jersey.server.model.ResourcecreateResource(EndpointMapping endpointMapping, WebOperation operation) protected org.glassfish.jersey.server.model.ResourcegetResource(EndpointMapping endpointMapping, WebOperation operation, WebOperationRequestPredicate requestPredicate, StringSE path, @Nullable WebServerNamespace serverNamespace, @Nullable org.springframework.boot.jersey.actuate.endpoint.web.JerseyRemainingPathSegmentProvider remainingPathSegmentProvider)
コンストラクターの詳細
JerseyEndpointResourceFactory
public JerseyEndpointResourceFactory()
メソッドの詳細
createEndpointResources
public CollectionSE<org.glassfish.jersey.server.model.Resource> createEndpointResources(EndpointMapping endpointMapping, CollectionSE<ExposableWebEndpoint> endpoints, EndpointMediaTypes endpointMediaTypes, EndpointLinksResolver linksResolver, boolean shouldRegisterLinks) 指定されたwebEndpointsの操作用にResourcesを作成します。- パラメーター:
endpointMapping- すべてのエンドポイントのベースマッピングendpoints- Web エンドポイントendpointMediaTypes- エンドポイントによって消費および生成されるメディア型linksResolver- 使用可能なエンドポイントへのリンクを決定するためのリゾルバーshouldRegisterLinks- リンクを登録する必要があります- 戻り値:
- 運用のためのリソース
createResource
protected org.glassfish.jersey.server.model.Resource createResource(EndpointMapping endpointMapping, WebOperation operation) getResource
protected org.glassfish.jersey.server.model.Resource getResource(EndpointMapping endpointMapping, WebOperation operation, WebOperationRequestPredicate requestPredicate, StringSE path, @Nullable WebServerNamespace serverNamespace, @Nullable org.springframework.boot.jersey.actuate.endpoint.web.JerseyRemainingPathSegmentProvider remainingPathSegmentProvider)