public class DirectXmlRequest extends SolrRequest<UpdateResponse> implements IsUpdateRequest
SolrRequest.METHODSUPPORTED_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, setUseV2public RequestWriter.ContentWriter getContentWriter(String expectedType)
SolrRequestgetContentWriter 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)
SolrRequestcreateResponse 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-2021 Apache Software Foundation. All Rights Reserved.