ICEpush
  1. ICEpush
  2. PUSH-286

Re-factor Request/Response and related APIs

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3, EE-3.3.0.GA_P01
    • Fix Version/s: 4.0.BETA, 4.0
    • Component/s: Push Library, Push Server
    • Labels:
      None
    • Environment:
      ICEpush

      Description

      Currently we have the Request/Response interfaces that we use in wrapping the HttpServletRequest and HttpServletResponse instances. However, if we want to use these interfaces to wrap different request/response implementation objects, the current API doesn't always suit this. In addition, it'd be nicer to split the ServletRequestResponse class into a ServletRequest and ServletResponse class, and still keep the ServletRequestResponse class, but then as a wrapper of a ServletRequest and ServletResponse instance. Introducing PushRequest and PushResponse interfaces (as extensions to Request/Response) can also be utilized to introduce ICEpush-specific getters and setters for ease of development, like getSequenceNumber() and setSequenceNumber(). Then the implementation of these interfaces can decide where to retrieve the sequenceNumber from and where to put it depending on the wrapped Request/Response classes.

        Activity

          People

          • Assignee:
            Jack Van Ooststroom
            Reporter:
            Jack Van Ooststroom
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: