public class GenericSolrRequest extends SolrRequest<SimpleSolrResponse>
SolrRequest.METHOD
Modifier and Type | Field and Description |
---|---|
SolrParams |
params |
SimpleSolrResponse |
response |
SUPPORTED_METHODS, useBinaryV2, usev2
Constructor and Description |
---|
GenericSolrRequest(SolrRequest.METHOD m,
String path,
SolrParams params) |
Modifier and Type | Method and Description |
---|---|
protected SimpleSolrResponse |
createResponse(SolrClient client)
Create a new SolrResponse to hold the response from the server
|
Collection<ContentStream> |
getContentStreams() |
SolrParams |
getParams() |
void |
setContentStreams(Collection<ContentStream> streams) |
getBasicAuthPassword, getBasicAuthUser, getCollection, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, process, process, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUseV2
public SolrParams params
public SimpleSolrResponse response
public GenericSolrRequest(SolrRequest.METHOD m, String path, SolrParams params)
public void setContentStreams(Collection<ContentStream> streams)
public SolrParams getParams()
getParams
in class SolrRequest<SimpleSolrResponse>
public Collection<ContentStream> getContentStreams() throws IOException
getContentStreams
in class SolrRequest<SimpleSolrResponse>
IOException
protected SimpleSolrResponse createResponse(SolrClient client)
SolrRequest
createResponse
in class SolrRequest<SimpleSolrResponse>
client
- the SolrClient
the request will be sent toCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.