This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Groovy and the fly likes How does one construct the delegate / response handler pattern as used in HTTPBuilder? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "How does one construct the delegate / response handler pattern as used in HTTPBuilder?" Watch "How does one construct the delegate / response handler pattern as used in HTTPBuilder?" New topic
Author

How does one construct the delegate / response handler pattern as used in HTTPBuilder?

joseph beuckman
Greenhorn

Joined: Oct 18, 2012
Posts: 1
I want to write an asynchronous function that accepts a closure with handlers like HTTPBuilder.request does. How is the function written?

When I call the function, it will look like this:


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How does one construct the delegate / response handler pattern as used in HTTPBuilder?
 
Similar Threads
Adding a JButton (Interactive) to a JTable
functions in javascript
A question on nested functions
Cookies not found
query using jsp & beans