Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Jetty - Async callbacks(Leveraging Jetty's async architecture.)
Jetty - Async callbacks [message #1701305] Fri, 10 July 2015 18:13
Hugh Gleaves is currently offline Hugh GleavesFriend
Messages: 1
Registered: July 2015
Junior Member
I'm looking at an app which uses Jetty 5.1.10 (yes I know, a little out of date)

I'm unfamiliar with this API (and pretty new to Java) but I'd like to know if there's a way to get this app to be able to send a response (back to the client browser) asynchronously, so that a callback runs once all data has been sent over the wire.

The app basically offers an "shutdown" link that stops the app but we cant display a nice "goodbye" type page because closing the app happens before all data is sent.

I can see that Jetty (seems to be) is async internally and wonder if this capability is exposed in any way?

(I can see an interface named OutputObserver but from glancing at this it seems to support just a handful of actions - none of which seem to relate to asynchronous completions).

Thanks,

Korporal
Previous Topic:Re: Eclipse has an installer!
Next Topic:Android Native Support Problems
Goto Forum:
  


Current Time: Wed Aug 21 03:20:30 GMT 2019

Powered by FUDForum. Page generated in 0.03006 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top