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:2017-07-21
  • 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:2014-06-13
  • 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:2013-10-08
  • 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
  • Patience-impaired Navigation
Copyright - WordPress Theme by OceanWP