Package org.apache.solr.jersey
package org.apache.solr.jersey
Jersey integration code
-
ClassDescriptionAPIConfigProvider<T extends APIConfigProvider.APIConfig>Interface to be implemented by the Request Handlers that need to provide some custom configuration to the V2 APIsJersey binder for APIConfigProviderFlattens the exception and sets on a
SolrJerseyResponse.Allows access to aContainerRequestContextvia aServiceLocatorFetch the (existing) SolrCore from the request contextAMapWriterimplementation that relies on Jackson'sJsonPropertyannotation.Stores Jersey 'ApplicationHandler' instances by an ID or hash derived from theirConfigSet.JAX-RS "application" configurations for Solr'sCoreContainerandSolrCoreinstancesOverrides the content-type of the response based on an optional user-provided 'wt' parameterA collection point for variousMessageBodyReaderimplementations.Caches the deserialized request body in theContainerRequestContextfor use later in the request lifecycle.A JSONMessageBodyReaderthat caches request bodies for use later in the request lifecycle.A collection of thin Jersey shims around Solr's existingQueryResponseWriterinterfaceAnExceptionMapperfor the exception produced by JAX-RS when no match could be found for an incoming request.Associates the resource method with a particularPermissionNameProvidervalue.Applies standard post-processing decorations to aSolrJerseyResponsethat are needed on all responses.Keys used to store and retrieve values from the Jersey request context.A request and response filter used to initialize and report per-request metrics.Adjusts post-request metrics (timing, etc.)for individual Jersey requests.Sets up the metrics-context for individual requestsCustomizes the ObjectMapper settings used for serialization/deserialization in JerseyA JAX-RS request filter that blocks or allows requests based on the authorization plugin configured in security.json.