类 JerseyEndpointResourceFactory
- java.lang.Object
- org.springframework.boot.actuate.endpoint.web.jersey.JerseyEndpointResourceFactory
public class JerseyEndpointResourceFactory extends Object
A factory for creating JerseyResources
forweb endpoint operations
.- 从以下版本开始:
- 2.0.0
构造器概要
构造器 构造器 说明 JerseyEndpointResourceFactory()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Collection<org.glassfish.jersey.server.model.Resource>
createEndpointResources(EndpointMapping endpointMapping, Collection<ExposableWebEndpoint> endpoints, EndpointMediaTypes endpointMediaTypes, EndpointLinksResolver linksResolver)
CreatesResources
for the operations of the givenwebEndpoints
.
构造器详细资料
JerseyEndpointResourceFactory
public JerseyEndpointResourceFactory()
方法详细资料
createEndpointResources
public Collection<org.glassfish.jersey.server.model.Resource> createEndpointResources(EndpointMapping endpointMapping, Collection<ExposableWebEndpoint> endpoints, EndpointMediaTypes endpointMediaTypes, EndpointLinksResolver linksResolver)
CreatesResources
for the operations of the givenwebEndpoints
.- 参数:
endpointMapping
- the base mapping for all endpointsendpoints
- the web endpointsendpointMediaTypes
- media types consumed and produced by the endpointslinksResolver
- resolver for determining links to available endpoints- 返回:
- the resources for the operations