public class StreamingUpdateRequest extends AbstractUpdateRequest
AbstractUpdateRequest.ACTION
SolrRequest.METHOD
commitWithin, params
SUPPORTED_METHODS, useBinaryV2, usev2
Constructor and Description |
---|
StreamingUpdateRequest(String path,
File f,
String contentType) |
StreamingUpdateRequest(String path,
RequestWriter.ContentWriter contentWriter) |
StreamingUpdateRequest(String path,
String content,
String contentType) |
Modifier and Type | Method and Description |
---|---|
RequestWriter.ContentWriter |
getContentWriter(String expectedType)
If a request object wants to do a push write, implement this method.
|
createResponse, getAction, getCommitWithin, getParams, isWaitSearcher, rollback, setAction, setAction, setAction, setAction, setAction, setAction, setAction, setCommitWithin, setParam, setParams, setWaitSearcher
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 StreamingUpdateRequest(String path, RequestWriter.ContentWriter contentWriter)
public StreamingUpdateRequest(String path, String content, String contentType)
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 formatCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.