public class MultiContentWriterRequest extends AbstractUpdateRequest
AbstractUpdateRequest.ACTIONSolrRequest.METHODcommitWithin, paramsSUPPORTED_METHODS, useBinaryV2, usev2| Constructor and Description |
|---|
MultiContentWriterRequest(SolrRequest.METHOD m,
String path,
Iterator<Pair<NamedList,Object>> payload) |
| Modifier and Type | Method and Description |
|---|---|
static String |
detect(Object o) |
RequestWriter.ContentWriter |
getContentWriter(String expectedType)
If a request object wants to do a push write, implement this method.
|
static ByteBuffer |
readByteBuffer(InputStream is) |
createResponse, getAction, getCommitWithin, getParams, isWaitSearcher, rollback, setAction, setAction, setAction, setAction, setAction, setAction, setAction, setCommitWithin, setParam, setParams, setWaitSearcheraddHeader, 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 formatpublic static String detect(Object o) throws IOException
IOExceptionpublic static ByteBuffer readByteBuffer(InputStream is) throws IOException
IOExceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.