Skip to content
Programming Notes
  • Home
  • Docker Starters
  • Author.instance().info()
  • Toggle website search
Menu Close
  • Home
  • Docker Starters
  • Author.instance().info()
  • Toggle website search

groovy

  1. Home>
  2. programming>
  3. groovy

Too Many Languages!

  • Post author:Van Ly
  • Post published:July 21, 2017
  • Post category:groovy/Java/programming/Python/Scala

ARGH! I've been bounced between languages. It's driving me NUTS. This is a comparison of how to do something in each to help me map between them. There is definitely…

Continue ReadingToo Many Languages!

Grails’s RESTClient

  • Post author:Van Ly
  • Post published:June 13, 2014
  • Post category:Grails/groovy/programming
  • Post comments:0 Comments

The groovy.net.http.RESTClient class is a subclass of a more general groovyx.net.http.HttpBuilder class and comes with the "rest" plugin (http://grails.org/plugin/rest). GET A simple GET request with query parameters: def rest =…

Continue ReadingGrails’s RESTClient

xml.MarkupBuilder in Groovy

  • Post author:Van Ly
  • Post published:October 8, 2013
  • Post category:groovy/programming

Typical use of the builder starts with: import groovy.xml.MarkupBuilder def writer = new StringWriter() def xml = new MarkupBuilder(writer) ... String generatedXml = writer.toString() Then the "building" part is what's…

Continue Readingxml.MarkupBuilder in Groovy
  • Author.instance().info()
  • Docker Starters
Copyright - WordPress Theme by OceanWP