Package org.apache.solr.crossdc.common
Class MirroredSolrRequest.ExposedByteArrayContentStream
java.lang.Object
org.apache.solr.common.util.ContentStreamBase
org.apache.solr.crossdc.common.MirroredSolrRequest.ExposedByteArrayContentStream
- All Implemented Interfaces:
org.apache.solr.common.util.ContentStream
- Enclosing class:
MirroredSolrRequest<T extends org.apache.solr.client.solrj.SolrResponse>
public static class MirroredSolrRequest.ExposedByteArrayContentStream
extends org.apache.solr.common.util.ContentStreamBase
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.solr.common.util.ContentStreamBase
org.apache.solr.common.util.ContentStreamBase.ByteArrayStream, org.apache.solr.common.util.ContentStreamBase.FileStream, org.apache.solr.common.util.ContentStreamBase.StringStream, org.apache.solr.common.util.ContentStreamBase.URLStream -
Field Summary
Fields inherited from class org.apache.solr.common.util.ContentStreamBase
APPLICATION_GZIP, APPLICATION_JSON, APPLICATION_OCTET_STREAM, APPLICATION_XML, contentType, DEFAULT_CHARSET, name, size, sourceInfo, TEXT_XML -
Constructor Summary
ConstructorsConstructorDescriptionExposedByteArrayContentStream(byte[] bytes, String source, String contentType) -
Method Summary
Methods inherited from class org.apache.solr.common.util.ContentStreamBase
attemptToDetermineContentType, create, getCharsetFromContentType, getContentType, getName, getReader, getSize, getSourceInfo, setContentType, setName, setSize, setSourceInfo
-
Constructor Details
-
ExposedByteArrayContentStream
-
-
Method Details
-
byteArray
public byte[] byteArray() -
getStream
- Throws:
IOException
-
toString
-
of
public static MirroredSolrRequest.ExposedByteArrayContentStream of(org.apache.solr.common.util.ContentStream cs) throws IOException - Throws:
IOException
-