glassfishrobot

Results 2829 comments of glassfishrobot

@glassfishrobot Commented This issue was imported from java.net JIRA SERVLET_SPEC-87

* **Issue Imported From:** https://github.com/javaee/servlet-spec/issues/156 * **Original Issue Raised By:**@glassfishrobot * **Original Issue Assigned To:** @glassfishrobot

@glassfishrobot Commented Reported by gregwilkins

@glassfishrobot Commented pbenedict said: Do you see a tie-in to how the PushBuilder's push() can be cancelled?

@glassfishrobot Commented markt_asf said: The new interface works for me.

@glassfishrobot Commented stuartdouglas said: I guess we could add the ability to add a ServletRequestCancellationListener to a pushed request, so you receive notification if a push succeeds or fails.

@glassfishrobot Commented wenbozhu said: "Abort" might be a better term than cancellation, which implies an explicit client-initiated command (out of the scope of HTTP, IMO).

@glassfishrobot Commented gregwilkins said: Note we need to be very precise about the threading behaviour of this callback, as we need to allow multiple threads to be dispatched to the...

@glassfishrobot Commented gregwilkins said: An alternative view is that the ServletRequestCancellationListener.cancelled should always be called before any onError callbacks. This would then allow the onError callbacks to be implemented with...

@glassfishrobot Commented stuartdouglas said: I think ServletRequestCancellationListener should basically be a completely separate thing, and it is up to the user to implement it in a thread safe manner (obviously...