public class MultiContentWriterRequest extends AbstractUpdateRequest
AbstractUpdateRequest.ACTION
SolrRequest.METHOD
commitWithin, params
SUPPORTED_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, setWaitSearcher
getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, process, process, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, 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 formatpublic static String detect(Object o) throws IOException
IOException
public static ByteBuffer readByteBuffer(InputStream is) throws IOException
IOException
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.