Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-5020

Make ComplexData support streams

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Ready for Work
    • Priority: Should
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Medium

      Description

      Currently ComplexData has field of type Object and handlers have no way of declaring what specific types they can handle. One way to solve this issue is for ComplexData to support streams (Input/OutputStream) instead of Object.

      We could also consider using Java has this class to support streams
      https://docs.oracle.com/javase/7/docs/api/javax/activation/DataSource.html

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                alinmihaila99 Alin Mihaila
                Reporter:
                raff Rafal Korytkowski
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                  Dates

                  Created:
                  Updated: