public class BinaryRequestWriter extends RequestWriter
RequestWriter| Modifier and Type | Class and Description | 
|---|---|
| static class  | BinaryRequestWriter.BAOS | 
RequestWriter.ContentWriter, RequestWriter.StringPayloadContentWriter| Constructor and Description | 
|---|
| BinaryRequestWriter() | 
| Modifier and Type | Method and Description | 
|---|---|
| Collection<ContentStream> | getContentStreams(SolrRequest req) | 
| RequestWriter.ContentWriter | getContentWriter(SolrRequest req)Use this to do a push writing instead of pull. | 
| String | getUpdateContentType() | 
| void | write(SolrRequest request,
     OutputStream os) | 
getPath, isEmpty, isNull, isNullpublic RequestWriter.ContentWriter getContentWriter(SolrRequest req)
RequestWriterRequestWriter.getContentStreams(SolrRequest) is
 invoked to do a pull write.getContentWriter in class RequestWriterpublic Collection<ContentStream> getContentStreams(SolrRequest req) throws IOException
getContentStreams in class RequestWriterIOExceptionpublic String getUpdateContentType()
getUpdateContentType in class RequestWriterpublic void write(SolrRequest request, OutputStream os) throws IOException
write in class RequestWriterIOExceptionCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.