Class JerseyEndpointResourceFactory

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

public class JerseyEndpointResourceFactory extends Object
A factory for creating Jersey Resources for web endpoint operations.
Since:
4.0.0
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Collection<org.glassfish.jersey.server.model.Resource>
    createEndpointResources(org.springframework.boot.actuate.endpoint.web.EndpointMapping endpointMapping, Collection<org.springframework.boot.actuate.endpoint.web.ExposableWebEndpoint> endpoints, org.springframework.boot.actuate.endpoint.web.EndpointMediaTypes endpointMediaTypes, org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver linksResolver, boolean shouldRegisterLinks)
    Creates Resources for the operations of the given webEndpoints.
    protected org.glassfish.jersey.server.model.Resource
    createResource(org.springframework.boot.actuate.endpoint.web.EndpointMapping endpointMapping, org.springframework.boot.actuate.endpoint.web.WebOperation operation)
     
    protected org.glassfish.jersey.server.model.Resource
    getResource(org.springframework.boot.actuate.endpoint.web.EndpointMapping endpointMapping, org.springframework.boot.actuate.endpoint.web.WebOperation operation, org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate requestPredicate, String path, @Nullable org.springframework.boot.actuate.endpoint.web.WebServerNamespace serverNamespace, @Nullable org.springframework.boot.jersey.actuate.endpoint.web.JerseyRemainingPathSegmentProvider remainingPathSegmentProvider)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JerseyEndpointResourceFactory

      public JerseyEndpointResourceFactory()
  • Method Details

    • createEndpointResources

      public Collection<org.glassfish.jersey.server.model.Resource> createEndpointResources(org.springframework.boot.actuate.endpoint.web.EndpointMapping endpointMapping, Collection<org.springframework.boot.actuate.endpoint.web.ExposableWebEndpoint> endpoints, org.springframework.boot.actuate.endpoint.web.EndpointMediaTypes endpointMediaTypes, org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver linksResolver, boolean shouldRegisterLinks)
      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
      shouldRegisterLinks - should register links
      Returns:
      the resources for the operations
    • createResource

      protected org.glassfish.jersey.server.model.Resource createResource(org.springframework.boot.actuate.endpoint.web.EndpointMapping endpointMapping, org.springframework.boot.actuate.endpoint.web.WebOperation operation)
    • getResource

      protected org.glassfish.jersey.server.model.Resource getResource(org.springframework.boot.actuate.endpoint.web.EndpointMapping endpointMapping, org.springframework.boot.actuate.endpoint.web.WebOperation operation, org.springframework.boot.actuate.endpoint.web.WebOperationRequestPredicate requestPredicate, String path, @Nullable org.springframework.boot.actuate.endpoint.web.WebServerNamespace serverNamespace, @Nullable org.springframework.boot.jersey.actuate.endpoint.web.JerseyRemainingPathSegmentProvider remainingPathSegmentProvider)