Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Murach's Java Servlets and JSP this week in the Servlets 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