public static class Http2SolrClient.OutStream extends Object implements Closeable
| 构造器和说明 |
|---|
OutStream(String origCollection,
ModifiableSolrParams origParams,
org.eclipse.jetty.client.util.OutputStreamContentProvider outProvider,
org.eclipse.jetty.client.util.InputStreamResponseListener responseListener,
boolean isXml) |
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 在接口中 Closeableclose 在接口中 AutoCloseableIOExceptionpublic org.eclipse.jetty.client.util.InputStreamResponseListener getResponseListener()
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.