servlet-spec
  1. servlet-spec
  2. SERVLET_SPEC-6

Undefined behaviour for AsyncContext#getRequest() and getResponse() after complete()/dispatch()

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The specification is unclear on what should happen here. Clearly, it isn't going to work but how it fails and when it fails is undefined.

      My preference is for declaring that those methods throw IllegalStateException in those circumstances.

        Activity

        markt_asf created issue -
        Rajiv Mordani made changes -
        Field Original Value New Value
        Assignee Shing Wai Chan [ swchan2 ]
        Shing Wai Chan made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Shing Wai Chan made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Shing Wai Chan made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        markt_asf made changes -
        Summary Undefined behaviour for AsyncContext#getRequest() and getResponse() after timeout Undefined behaviour for AsyncContext#getRequest() and getResponse() after complete()/dispatch()
        Shing Wai Chan made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Shing Wai Chan
            Reporter:
            markt_asf
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: