Class 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
      void close()  
      void flush()  
      org.eclipse.jetty.client.util.InputStreamResponseListener getResponseListener()  
      void write​(byte[] b)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException
      • getResponseListener

        public org.eclipse.jetty.client.util.InputStreamResponseListener getResponseListener()