Package org.apache.solr.jersey
Jersey integration code
-
Interface Summary Interface Description APIConfigProvider<T extends APIConfigProvider.APIConfig> Interface to be implemented by the Request Handlers that need to provide some custom configuration to the V2 APIsAPIConfigProvider.APIConfig JacksonReflectMapWriter AMapWriter
implementation that relies on Jackson'sJsonProperty
annotation.RequestContextKeys Keys used to store and retrieve values from the Jersey request context. -
Class Summary Class Description APIConfigProviderBinder Jersey binder for APIConfigProviderCatchAllExceptionMapper Flattens the exception and sets on aSolrJerseyResponse
.ExperimentalResponse SolrJerseyResponse
implementation with a warning field indicating that the format may changeInjectionFactories InjectionFactories.RequestContextBasedFactory Allows access to aContainerRequestContext
via aServiceLocator
InjectionFactories.ReuseFromContextIndexSchemaFactory InjectionFactories.ReuseFromContextSolrCoreFactory Fetch the (existing) SolrCore from the request contextInjectionFactories.ReuseFromContextSolrParamsFactory InjectionFactories.SingletonFactory<T> InjectionFactories.SolrQueryRequestFactory InjectionFactories.SolrQueryResponseFactory JerseyAppHandlerCache Stores Jersey 'ApplicationHandler' instances by an ID or hash derived from theirConfigSet
.JerseyApplications JAX-RS "application" configurations for Solr'sCoreContainer
andSolrCore
instancesJerseyApplications.CoreContainerApp JerseyApplications.SolrCoreApp MediaTypeOverridingFilter Overrides the content-type of the response based on an optional user-provided 'wt' parameterMessageBodyReaders A collection point for variousMessageBodyReader
implementations.MessageBodyReaders.CachingDelegatingMessageBodyReader Caches the deserialized request body in theContainerRequestContext
for use later in the request lifecycle.MessageBodyReaders.CachingJsonMessageBodyReader A JSONMessageBodyReader
that caches request bodies for use later in the request lifecycle.MessageBodyWriters A collection of thin Jersey shims around Solr's existingQueryResponseWriter
interfaceMessageBodyWriters.BaseMessageBodyWriter MessageBodyWriters.CsvMessageBodyWriter MessageBodyWriters.JavabinMessageBodyWriter MessageBodyWriters.RawMessageBodyWriter MessageBodyWriters.XmlMessageBodyWriter NotFoundExceptionMapper AnExceptionMapper
for the exception produced by JAX-RS when no match could be found for an incoming request.PostRequestDecorationFilter Applies standard post-processing decorations to aSolrJerseyResponse
that are needed on all responses.PostRequestLoggingFilter RequestMetricHandling A request and response filter used to initialize and report per-request metrics.RequestMetricHandling.PostRequestMetricsFilter Adjusts post-request metrics (timing, etc.)for individual Jersey requests.RequestMetricHandling.PreRequestMetricsFilter Sets up the metrics-context for individual requestsSolrJacksonMapper Customizes the ObjectMapper settings used for serialization/deserialization in JerseySolrJacksonMapper.NamedListSerializer SolrRequestAuthorizer A JAX-RS request filter that blocks or allows requests based on the authorization plugin configured in security.json. -
Annotation Types Summary Annotation Type Description PermissionName Associates the resource method with a particularPermissionNameProvider
value.