public class DirectXmlRequest extends SolrRequest<UpdateResponse> implements IsUpdateRequest
SolrRequest.METHOD
SUPPORTED_METHODS, useBinaryV2, usev2
Constructor and Description |
---|
DirectXmlRequest(String path,
String body) |
Modifier and Type | Method and Description |
---|---|
protected UpdateResponse |
createResponse(SolrClient client)
Create a new SolrResponse to hold the response from the server
|
RequestWriter.ContentWriter |
getContentWriter(String expectedType)
If a request object wants to do a push write, implement this method.
|
SolrParams |
getParams() |
void |
setParams(SolrParams params) |
addHeader, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getHeaders, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2
public RequestWriter.ContentWriter getContentWriter(String expectedType)
SolrRequest
getContentWriter
in class SolrRequest<UpdateResponse>
expectedType
- This is the type that the RequestWriter would like to get. But, it is OK to send any formatprotected UpdateResponse createResponse(SolrClient client)
SolrRequest
createResponse
in class SolrRequest<UpdateResponse>
client
- the SolrClient
the request will be sent topublic SolrParams getParams()
getParams
in class SolrRequest<UpdateResponse>
public void setParams(SolrParams params)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.