Class Http2SolrClient.OutStream
- java.lang.Object
-
- org.apache.solr.client.solrj.impl.Http2SolrClient.OutStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- Http2SolrClient
public static class Http2SolrClient.OutStream extends Object implements Closeable
-
-
Constructor Summary
Constructors Constructor Description OutStream(String origCollection, 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 void
close()
void
flush()
org.eclipse.jetty.client.util.InputStreamResponseListener
getResponseListener()
void
write(byte[] b)
-
-
-
Constructor Detail
-
OutStream
public OutStream(String origCollection, 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 IOException
- Throws:
IOException
-
flush
public void flush() throws IOException
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
getResponseListener
public org.eclipse.jetty.client.util.InputStreamResponseListener getResponseListener()
-
-