File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Languages » Groovy
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How does one construct the delegate / response handler pattern as used in HTTPBuilder?
 
Similar Threads
A question on nested functions
query using jsp & beans
Cookies not found
functions in javascript
Adding a JButton (Interactive) to a JTable