JavaScript is disabled on your browser.
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
gnu.inet.http

Interface RequestBodyWriter

  • All Known Implementing Classes:
    ByteArrayRequestBodyWriter


    public interface RequestBodyWriter
    Callback interface for writing request body content.
    • Method Summary

      Methods
      Modifier and Type Method and Description
      long getContentLength ()
      Returns the total number of bytes that will be written by this writer.
      void reset ()
      Initialises the writer.
      int write (byte[] buffer)
      Writes body content to the supplied buffer.
    • Method Detail

      • getContentLength

        long getContentLength()
        Returns the total number of bytes that will be written by this writer.
      • reset

        void reset()
        Initialises the writer. This will be called before each pass.
      • write

        int write(byte[] buffer)
        Writes body content to the supplied buffer.
        Parameters:
        buffer - the content buffer
        Returns:
        the number of bytes written
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

AltStyle によって変換されたページ (->オリジナル) /