(Quick Reference)

7 Changelog - Reference Documentation

Authors: Bud Byrd

Version: 2.0.2

7 Changelog

Version 2.0.2

  • Fix issue causing the RequestProperties constructor to fail if grailsApplication is not defined in Holders.

Version 2.0.1

  • Remove jersey-server as a dependency.
  • Added support for multivalued headers.
  • Added support for multivalued query parameters.
  • Added support for multivalued form fields.
  • Add methods addHeader, addQuery, and addFormField to RequestProperties to properly handle adding values as multivalued entries.
  • Add methods setHeader, setQuery, and setFormField to RequestProperties to override existing values.

Version 2.0.0

  • Update the jersey libraries to 1.19.
  • Deprecated the RequestBuilder class.
  • Introduced the jerseyRequestBuilder bean.
  • Introduced the RequestProperties object to configure requests.

Version 1.2.3

  • Fix issue #24: responses that contain no entity were causing an exception.
  • Add travis-ci to README.

Version 1.2.2

  • Fix problem with global defaults configuration that caused cast exceptions (thanks Aaron Brown).

Version 1.2.1

  • Added application-wide default configuration (Aaron Brown).

Version 1.2.0

  • Added support for automatic XML conversion (Michael Rice). This change may break code since XML was returned as a string before, and the conversion is enabled by default.

Version 1.1.4

  • Added support for HEAD, OPTIONS, and TRACE HTTP methods.
  • Added functional tests.
  • Added GZIP support.
  • Added chunking support.

Version 1.1.3

  • Created proper documentation for the project.
  • Force query parameters in RequestBuilder to Strings.

Version 1.1.2

  • Removed logic to set an all-trusting SSLContext globally when the ignoreInvalidSSL option is used. This prevents a race condition where requests made at the same time an SSL-ignoring request builder is running will also ignore SSL.

Version 1.1.1

  • Plugin has been renamed to make it less generic.

Version 1.1.0

  • Minor revision bump in preparation for public release.

Version 1.0.19

  • Added the raw response object to HTTP exceptions.

Version 1.0.18

  • Added query parameter support to UriBuilder.

Version 1.0.17

  • Fixed bug in UriBuilder that did not respect existing URL parts when passed via 'base'.

Version 1.0.16

  • Cleaned up UriBuilder a bit to support premade query string in RequestBuilder.

Version 1.0.15

  • Added flag that instructs Jersey whether to automatically follow redirects or not. Note that if a redirect status is encountered and not followed, an exception of the appropriate HTTP status code will be thrown.
  • In the case that a response has a JSON content type but the body is empty, null will be returned as the response when autoconversion of JSON is enabled.

Version 1.0.14

  • Added UriBuilder and integrated it into the RequestBuilder class. UriBuilder can be used independently from RequestBuilder.

Version 1.0.13

  • Added Jersey Server as a dependency of the plugin. It's not actually required for the plugin to work, however, when an application shares a tomcat server that is using the server library, issues occur that require server to be added to the project.

Version 1.0.12

  • Added basic HTTP auth support.

Version 1.0.11

  • Made request builder object stateful for reuse.
  • Added connection and read timeouts.

Version 1.0.10

  • Added logging using log4j of the request and response. See the "debug" option.

Version 1.0.9

  • Fix another silly bug related to JSON conversion.
  • Added lists to the JSON conversion process.

Version 1.0.8

  • Fix order of operations problem with JSON conversion.

Version 1.0.7

  • Also set the content-type for map to JSON conversions.

Version 1.0.6

  • Did a check for maps in the body of a request, and convert them to JSON if maps are found.

Version 1.0.5

  • Added cookie support.
  • Changed closure delegation mode to owner first, should make your code work more intuitively.
  • Added sub-type exceptions for http status codes. All inherit from ResponseStatusException.

Version 1.0.4

  • Added SSL cleanup code, fixes a bug where SSL certs are always ignored.

Version 1.0.3

  • Added ability to ignore invalid certs.

Version 1.0.2

  • Added content-type.

Version 1.0.1

  • Initial release.