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 AMapWriterimplementation that relies on Jackson'sJsonPropertyannotation.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 SolrJerseyResponseimplementation with a warning field indicating that the format may changeInjectionFactories InjectionFactories.RequestContextBasedFactory Allows access to aContainerRequestContextvia aServiceLocatorInjectionFactories.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'sCoreContainerandSolrCoreinstancesJerseyApplications.CoreContainerApp JerseyApplications.SolrCoreApp MediaTypeOverridingFilter Overrides the content-type of the response based on an optional user-provided 'wt' parameterMessageBodyReaders A collection point for variousMessageBodyReaderimplementations.MessageBodyReaders.CachingDelegatingMessageBodyReader Caches the deserialized request body in theContainerRequestContextfor use later in the request lifecycle.MessageBodyReaders.CachingJsonMessageBodyReader A JSONMessageBodyReaderthat caches request bodies for use later in the request lifecycle.MessageBodyWriters A collection of thin Jersey shims around Solr's existingQueryResponseWriterinterfaceMessageBodyWriters.BaseMessageBodyWriter MessageBodyWriters.CsvMessageBodyWriter MessageBodyWriters.JavabinMessageBodyWriter MessageBodyWriters.RawMessageBodyWriter MessageBodyWriters.XmlMessageBodyWriter NotFoundExceptionMapper AnExceptionMapperfor the exception produced by JAX-RS when no match could be found for an incoming request.PostRequestDecorationFilter Applies standard post-processing decorations to aSolrJerseyResponsethat 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 particularPermissionNameProvidervalue.