Class 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
.- Since:
- 2.0.0
Constructor Summary
Constructors Constructor Description JerseyEndpointResourceFactory()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<org.glassfish.jersey.server.model.Resource>
createEndpointResources(EndpointMapping endpointMapping, Collection<ExposableWebEndpoint> endpoints, EndpointMediaTypes endpointMediaTypes, EndpointLinksResolver linksResolver)
CreatesResources
for the operations of the givenwebEndpoints
.
Constructor Detail
JerseyEndpointResourceFactory
public JerseyEndpointResourceFactory()
Method Detail
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
.- Parameters:
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- Returns:
- the resources for the operations