Class ModifiedHttp2SolrClient.OutStream
- java.lang.Object
-
- org.apache.manifoldcf.agents.output.solr.ModifiedHttp2SolrClient.OutStream
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
- Enclosing class:
- ModifiedHttp2SolrClient
public static class ModifiedHttp2SolrClient.OutStream extends java.lang.Object implements java.io.Closeable
-
-
Constructor Summary
Constructors Constructor Description OutStream(java.lang.String origCollection, org.apache.solr.common.params.ModifiableSolrParams origParams, org.eclipse.jetty.client.util.OutputStreamContentProvider outProvider, org.eclipse.jetty.client.util.InputStreamResponseListener responseListener, boolean isXml)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()org.eclipse.jetty.client.util.InputStreamResponseListenergetResponseListener()voidwrite(byte[] b)
-
-
-
Constructor Detail
-
OutStream
public OutStream(java.lang.String origCollection, org.apache.solr.common.params.ModifiableSolrParams origParams, org.eclipse.jetty.client.util.OutputStreamContentProvider outProvider, org.eclipse.jetty.client.util.InputStreamResponseListener responseListener, boolean isXml)
-
-
Method Detail
-
write
public void write(byte[] b) throws java.io.IOException- Throws:
java.io.IOException
-
flush
public void flush() throws java.io.IOException- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
getResponseListener
public org.eclipse.jetty.client.util.InputStreamResponseListener getResponseListener()
-
-