Class RequestWriter.StringPayloadContentWriter
- java.lang.Object
-
- org.apache.solr.client.solrj.request.RequestWriter.StringPayloadContentWriter
-
- All Implemented Interfaces:
RequestWriter.ContentWriter
- Enclosing class:
- RequestWriter
public static class RequestWriter.StringPayloadContentWriter extends Object implements RequestWriter.ContentWriter
-
-
Constructor Summary
Constructors Constructor Description StringPayloadContentWriter(String payload, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentType()
void
write(OutputStream os)
-
-
-
Method Detail
-
write
public void write(OutputStream os) throws IOException
- Specified by:
write
in interfaceRequestWriter.ContentWriter
- Throws:
IOException
-
getContentType
public String getContentType()
- Specified by:
getContentType
in interfaceRequestWriter.ContentWriter
-
-