Apache AWF
  1. Apache AWF
  2. AWF-177

Create an Interface between the API user and deft internal plumbing system

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Labels:
      None

      Description

      here a patch for creating two interface : HttpResponse and HttpRequest (implementation are moved to HttpResponseImpl and HttpRequestImpl).
      We expose to the deft user only those interfaces (with the javadoc as API documentation) and hide all the parsing/accumulation process.

      The idea is :

      • hide the complexity to the user, provide clear API with it's doc
      • prevent user to call unwanted methods
      • being able to change the inner implementatio without affecting user code
      1. api.patch
        177 kB
        Julien Vermillard
      2. HttpRequestImpl.java
        12 kB
        Julien Vermillard
      3. HttpRequestImpl.java
        12 kB
        Julien Vermillard
      4. HttpResponseImpl.java
        11 kB
        Julien Vermillard

        Activity

        Julien Vermillard created issue -
        Julien Vermillard made changes -
        Field Original Value New Value
        Attachment api.patch [ 12489112 ]
        Julien Vermillard made changes -
        Attachment HttpResponseImpl.java [ 12489115 ]
        Julien Vermillard made changes -
        Attachment HttpRequestImpl.java [ 12489116 ]
        Julien Vermillard made changes -
        Attachment HttpRequestImpl.java [ 12489119 ]
        Johnathan Meehan made changes -
        Assignee Johnathan Meehan [ jmeehan ]
        Fix Version/s 0.4.0 [ 12317348 ]
        Johnathan Meehan made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Johnathan Meehan made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Tony Stevenson made changes -
        Project Deft [ 12311521 ] Apache AWF [ 12313220 ]
        Key DEFT-178 AWF-177
        Component/s Core [ 12315223 ]
        Component/s Tests [ 12315225 ]
        Fix Version/s 0.4.0 [ 12317348 ]

          People

          • Assignee:
            Johnathan Meehan
            Reporter:
            Julien Vermillard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development