Package org.apache.solr.jersey
Class SubResponseAccumulatingJerseyResponse
- java.lang.Object
-
- org.apache.solr.jersey.SolrJerseyResponse
-
- org.apache.solr.jersey.AsyncJerseyResponse
-
- org.apache.solr.jersey.SubResponseAccumulatingJerseyResponse
-
- All Implemented Interfaces:
org.apache.solr.common.MapSerializable
,org.apache.solr.common.MapWriter
,org.apache.solr.common.NavigableObject
,JacksonReflectMapWriter
,org.noggit.JSONWriter.Writable
- Direct Known Subclasses:
CreateCollectionBackupAPI.CreateCollectionBackupResponseBody
,DeleteCollectionBackupAPI.BackupDeletionResponseBody
,DeleteCollectionBackupAPI.PurgeUnusedResponse
public class SubResponseAccumulatingJerseyResponse extends AsyncJerseyResponse
Represents API responses composed of the responses of various sub-requests.Many Solr APIs, particularly those historically reliant on overseer processing, return a response to the user that is composed in large part of the responses from all sub-requests made during the APIs execution. (e.g. the collection-deletion response itself contains the responses from the 'UNLOAD' call send to each core.) This class encapsulates those responses as possible.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.solr.jersey.SolrJerseyResponse
SolrJerseyResponse.ResponseHeader
-
-
Field Summary
Fields Modifier and Type Field Description Object
failedSubResponsesByNodeName
Object
successfulSubResponsesByNodeName
String
warning
-
Fields inherited from class org.apache.solr.jersey.AsyncJerseyResponse
requestId
-
Fields inherited from class org.apache.solr.jersey.SolrJerseyResponse
error, responseHeader
-
-
Constructor Summary
Constructors Constructor Description SubResponseAccumulatingJerseyResponse()
-