public static class Http2SolrClient.OutStream extends Object implements Closeable
| Constructor and Description |
|---|
OutStream(String origCollection,
ModifiableSolrParams origParams,
org.eclipse.jetty.client.util.OutputStreamContentProvider outProvider,
org.eclipse.jetty.client.util.InputStreamResponseListener responseListener,
boolean isXml) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
org.eclipse.jetty.client.util.InputStreamResponseListener |
getResponseListener() |
void |
write(byte[] b) |
public OutStream(String origCollection, ModifiableSolrParams origParams, org.eclipse.jetty.client.util.OutputStreamContentProvider outProvider, org.eclipse.jetty.client.util.InputStreamResponseListener responseListener, boolean isXml)
public void write(byte[] b)
throws IOException
IOExceptionpublic void flush()
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic org.eclipse.jetty.client.util.InputStreamResponseListener getResponseListener()
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.