Class JerseyEndpointResourceFactory
java.lang.Object
org.springframework.boot.jersey.actuate.endpoint.web.JerseyEndpointResourceFactory
A factory for creating Jersey
Resources for web
endpoint operations.- Since:
- 4.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<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) CreatesResourcesfor the operations of the givenwebEndpoints.protected org.glassfish.jersey.server.model.ResourcecreateResource(org.springframework.boot.actuate.endpoint.web.EndpointMapping endpointMapping, org.springframework.boot.actuate.endpoint.web.WebOperation operation) protected org.glassfish.jersey.server.model.ResourcegetResource(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)
-
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) CreatesResourcesfor 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 endpointsshouldRegisterLinks- 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)
-