https://github.com/ok2c/httpcomponents-jackson
JSON message asynchronous producers and consumers for Apache HttpComponents 5.0 based on Jackson JSON library
https://github.com/ok2c/httpcomponents-jackson
apache-httpclient apache-httpcomponents async asynchronous jackson-json-processor json
Last synced: 3 months ago
JSON representation
JSON message asynchronous producers and consumers for Apache HttpComponents 5.0 based on Jackson JSON library
- Host: GitHub
- URL: https://github.com/ok2c/httpcomponents-jackson
- Owner: ok2c
- License: apache-2.0
- Created: 2018-12-30T16:04:43.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-06-10T15:59:04.000Z (over 1 year ago)
- Last Synced: 2025-04-15T03:13:42.894Z (9 months ago)
- Topics: apache-httpclient, apache-httpcomponents, async, asynchronous, jackson-json-processor, json
- Language: Java
- Homepage: https://ok2c.github.io/httpcomponents-jackson
- Size: 215 KB
- Stars: 8
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Event-driven, asynchronous JSON message processors for Apache HttpComponents 5.0
## Project scope
Apache HttpComponents do not directly provide any support for specific message formats such as XML or JSON.
While it is relatively easy to process HTTP message content with any data processing libraries
that support the classic (blocking) I/O model based on `InputStream` and `OutputStream` APIs,
there is no such common API for asynchronous data processing in Java 8 or earlier.
It is a very common anti-pattern with asynchronous HTTP content processing when message body content
gets buffered in memory and then processed using standard blocking `InputStream` and `OutputStream`
APIs.
This library aims at making asynchronous processing of JSON messages with Apache HttpCore 5.0 and
Apache HttpClient 5.0 simple and convenient while eliminating intermediate content buffering in memory.
The library uses the asynchronous JSON message parser of the fantastic
[Jackson JSON processor](https://github.com/FasterXML/jackson) to tokenize JSON content and map onto
a higher level Java object model.
## Documentation
Detailed [project documentation](https://ok2c.github.io/httpcomponents-jackson) can be found at
https://ok2c.github.io/httpcomponents-jackson