クラス JerseyEndpointResourceFactory
java.lang.ObjectSE
org.springframework.boot.actuate.endpoint.web.jersey.JerseyEndpointResourceFactory
web endpoint operations
の Jersey Resources
を作成するためのファクトリ。- 導入:
- 2.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.Resource
createResource
(EndpointMapping endpointMapping, WebOperation operation) protected org.glassfish.jersey.server.model.Resource
getResource
(EndpointMapping endpointMapping, WebOperation operation, WebOperationRequestPredicate requestPredicate, StringSE path, WebServerNamespace serverNamespace, org.springframework.boot.actuate.endpoint.web.jersey.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, WebServerNamespace serverNamespace, org.springframework.boot.actuate.endpoint.web.jersey.JerseyRemainingPathSegmentProvider remainingPathSegmentProvider)