public class RequestWriter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
RequestWriter.LazyContentStream |
Modifier and Type | Field and Description |
---|---|
static java.nio.charset.Charset |
UTF_8 |
Constructor and Description |
---|
RequestWriter() |
Modifier and Type | Method and Description |
---|---|
ContentStream |
getContentStream(UpdateRequest req) |
java.util.Collection<ContentStream> |
getContentStreams(SolrRequest req) |
java.lang.String |
getPath(SolrRequest req) |
java.lang.String |
getUpdateContentType() |
private boolean |
isEmpty(UpdateRequest updateRequest) |
protected boolean |
isNull(java.util.List l) |
void |
write(SolrRequest request,
java.io.OutputStream os) |
public java.util.Collection<ContentStream> getContentStreams(SolrRequest req) throws java.io.IOException
java.io.IOException
private boolean isEmpty(UpdateRequest updateRequest)
public java.lang.String getPath(SolrRequest req)
public ContentStream getContentStream(UpdateRequest req) throws java.io.IOException
java.io.IOException
public void write(SolrRequest request, java.io.OutputStream os) throws java.io.IOException
java.io.IOException
public java.lang.String getUpdateContentType()
protected boolean isNull(java.util.List l)