org.springframework.boot.actuate.endpoint.web.jersey

Class JerseyEndpointResourceFactory

  • java.lang.Object
    • org.springframework.boot.actuate.endpoint.web.jersey.JerseyEndpointResourceFactory


  • public class JerseyEndpointResourceFactory
    extends Object
    A factory for creating Jersey Resources for web endpoint operations.
    Since:
    2.0.0
    Author:
    Andy Wilkinson, Phillip Webb
    • 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)
        Creates Resources for the operations of the given webEndpoints.
        Parameters:
        endpointMapping - the base mapping for all endpoints
        endpoints - the web endpoints
        endpointMediaTypes - media types consumed and produced by the endpoints
        linksResolver - resolver for determining links to available endpoints
        Returns:
        the resources for the operations