Class ResponseEntityProxy.NullOutputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable
    Enclosing class:
    ResponseEntityProxy

    private static final class ResponseEntityProxy.NullOutputStream
    extends java.io.OutputStream
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private NullOutputStream()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void flush()  
      java.lang.String toString()  
      void write​(byte[] buffer)  
      void write​(byte[] buffer, int off, int len)  
      void write​(int byteValue)  
      • Methods inherited from class java.io.OutputStream

        nullOutputStream
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • NullOutputStream

        private NullOutputStream()
    • Method Detail

      • write

        public void write​(int byteValue)
        Specified by:
        write in class java.io.OutputStream
      • write

        public void write​(byte[] buffer)
        Overrides:
        write in class java.io.OutputStream
      • write

        public void write​(byte[] buffer,
                          int off,
                          int len)
        Overrides:
        write in class java.io.OutputStream
      • flush

        public void flush()
        Specified by:
        flush in interface java.io.Flushable
        Overrides:
        flush in class java.io.OutputStream
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Overrides:
        close in class java.io.OutputStream
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object