Package org.apache.solr.jersey
Jersey integration code
-
Interface Summary Interface Description 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 AsyncJerseyResponse CatchAllExceptionMapper Flattens the exception and sets on aSolrJerseyResponse
.ErrorInfo A value type representing an error.ErrorInfo.ErrorMetadata 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 SolrJerseyResponse Base response-body POJO to be used by Jersey resources.SolrJerseyResponse.ResponseHeader SolrRequestAuthorizer A JAX-RS request filter that blocks or allows requests based on the authorization plugin configured in security.json.SubResponseAccumulatingJerseyResponse Represents API responses composed of the responses of various sub-requests. -
Annotation Types Summary Annotation Type Description PermissionName Associates the resource method with a particularPermissionNameProvider
value.