Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1115

Add method to io.undertow.io.Sender to Transfer content from a ReadableByteChannel

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • API, Core
    • None

      At the moment io.undertow.io.Sender interface has a method to transfer content from a specified file:

          /**
           * Transfers all content from the specified file
           *
           * @param channel the file channel to transfer
           * @param callback The callback
           */
          void transferFrom(final FileChannel channel, final IoCallback callback);
      

      This request is to add a method to Sender interface to transfer content from java.nio.channels.ReadableByteChannel:

          /**
           * Transfers all content from the specified readable channel
           *
           * @param channel the readable byte channel to transfer
           * @param callback The callback
           */
          void transferFrom(final ReadableByteChannel channel, final IoCallback callback);
      

            sdouglas1@redhat.com Stuart Douglas
            greenlaw110_jira Gelin Luo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: