You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- document logging (example and config)
- update release notes for 3.3.0
- replace search.maven.org with central.sonatype.com
- replace Maven-specific instructions with a link to Maven central snippets
- remove redundant hyperlinks
Copy file name to clipboardexpand all lines: README.md
+39-45
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,7 @@ limitations under the License.
22
22
*[Intro](#intro)
23
23
*[Changelog](#changelog)
24
24
*[Usage](#usage)
25
-
*[Maven](#maven)
26
-
*[Request examples](#requests)
25
+
*[Request examples](#request-examples)
27
26
*[Supported HTTP methods](#http-methods)
28
27
*[A request to an arbitrary url](#url)
29
28
*[Base url](#base-url)
@@ -38,12 +37,12 @@ limitations under the License.
38
37
*[Response body](#response-body)
39
38
*[Deserializing JSON responses to Java objects](#jsons)
40
39
*[Deserializing JSON responses to Java generics](#generics)
40
+
*[Logging](#logging)
41
41
*[Future work](#todo)
42
42
*[Known bugs](#bugs)
43
43
*[Contact](#contact)
44
44
*[Disclaimer](#disclaimer)
45
45
46
-
<aid='intro'></a>
47
46
## Intro
48
47
This client wraps around [Apache HttpClient](https://hc.apache.org/httpcomponents-client-ga/) and [Jackson Databind](https://github.com/FasterXML/jackson-databind) libraries providing lean Groovy syntax:
49
48
```groovy
@@ -87,55 +86,46 @@ class IceCreamTest {
87
86
```
88
87
Full Java API reference is available [here](doc/JAVA.md)
89
88
90
-
<aid='changelog'></a>
91
89
## Changelog
92
-
**[(draft) 3.3.0](https://search.maven.org/artifact/com.tomtom.http/goji-http-client/3.3.0/jar)**: (chore) migrate to [org.wiremock](https://central.sonatype.com/artifact/org.wiremock/wiremock) & [httclient5](https://central.sonatype.com/artifact/org.apache.httpcomponents.client5/httpclient5)
**[3.1.0](https://search.maven.org/artifact/com.tomtom.http/goji-http-client/3.1.0/jar)**: (feat) query parameter support
98
+
**[3.1.0](https://central.sonatype.com/artifact/com.tomtom.http/goji-http-client/3.1.0)**: (feat) query parameter support
99
99
100
-
**[3.0.0](https://search.maven.org/artifact/com.tomtom.http/goji-http-client/3.0.0/jar)**: (chore) Groovy 4 and other dependency updates
100
+
**[3.0.0](https://central.sonatype.com/artifact/com.tomtom.http/goji-http-client/3.0.0)**: (chore) Groovy 4 and other dependency updates
101
101
102
-
**[2.0.0](https://search.maven.org/artifact/com.tomtom.http/goji-http-client/2.0.0/jar)**: (feature) Java-friendly API
102
+
**[2.0.0](https://central.sonatype.com/artifact/com.tomtom.http/goji-http-client/2.0.0)**: (feature) Java-friendly API
103
103
104
-
**[1.4.0](https://search.maven.org/artifact/com.tomtom.http/goji-http-client/1.4.0/jar)**: (chore) updated dependencies, including Groovy v2 -> v3 and Jackson (addressing [CVE-2019-17531](https://github.com/advisories/GHSA-gjmw-vf9h-g25v))
104
+
**[1.4.0](https://central.sonatype.com/artifact/com.tomtom.http/goji-http-client/1.4.0)**: (chore) updated dependencies, including Groovy v2 -> v3 and Jackson (addressing [CVE-2019-17531](https://github.com/advisories/GHSA-gjmw-vf9h-g25v))
105
105
106
-
**[1.3.1](https://search.maven.org/artifact/com.tomtom.http/goji-http-client/1.3.1/jar)**: (chore) updated dependencies, including jackson-databind version with vulnerabilities
106
+
**[1.3.1](https://central.sonatype.com/artifact/com.tomtom.http/goji-http-client/1.3.1)**: (chore) updated dependencies, including jackson-databind version with vulnerabilities
**[1.2.3](https://search.maven.org/artifact/com.tomtom.http/goji-http-client/1.2.3/jar)**: (chore) updated dependencies, including jackson-databind version with vulnerabilities
110
+
**[1.2.3](https://central.sonatype.com/artifact/com.tomtom.http/goji-http-client/1.2.3)**: (chore) updated dependencies, including jackson-databind version with vulnerabilities
111
111
112
-
**[1.2.0](https://search.maven.org/artifact/com.tomtom.http/goji-http-client/1.2.0/jar)**: (feature) support for TRACE, OPTIONS and PATCH methods
112
+
**[1.2.0](https://central.sonatype.com/artifact/com.tomtom.http/goji-http-client/1.2.0)**: (feature) support for TRACE, OPTIONS and PATCH methods
113
113
114
-
**[1.1.0](https://search.maven.org/artifact/com.tomtom.http/goji-http-client/1.1.0/jar)**: (doc) maven usage and javadocs
114
+
**[1.1.0](https://central.sonatype.com/artifact/com.tomtom.http/goji-http-client/1.1.0)**: (doc) maven usage and javadocs
GOJI HTTP uses the [semantic versioning](http://semver.org/) strategy: MAJOR.MINOR.PATCH.
122
121
123
-
<aid='maven'></a>
124
-
### Maven
125
-
126
-
```xml
127
-
<dependency>
128
-
<groupId>com.tomtom.http</groupId>
129
-
<artifactId>goji-http-client</artifactId>
130
-
<version>3.2.0</version>
131
-
</dependency>
132
-
```
122
+
Check [Maven central repository](https://central.sonatype.com/artifact/com.tomtom.http/goji-http-client/3.3.0) for snippets to add the client as a dependency for your build system.
Our primary use-case of this http client is testing our REST services. The client has not been tested for any production use though we don't expect big issues there.
0 commit comments