This is a short tutorial about how to stream a large file to a file using a DataBuffer and what’s the role of ExchangeStrategies in WebClient.
By day, I write new code, I improve bad code, and I try to enforce performance standards. Mostly in Java. I also love automating stuff. Mostly in bash. By night, I write technical articles and write tools for personal management. For fun: I'm a Street Fighter player (3rd Strike and V), trying to learn Japanese.
Here's what I've written (so far):
Baeldung on Java
- Spring Data (5)
- Spring (3)
- NoSQL (3)
- Java (3)
- REST (1)
- Java Web (1)
- Java Collections (1)
- JSON (1)
- HTTP Client-Side (1)
Learn how to access MBeans from a shell script.
Learn how to insert HashMap into MongoDB.
Learn various ways of limiting the request per second of a web client.
Learn how to generate unique random numbers efficiently.
Learn how to transform UNIX time to Date depending on the Java version.
How to read JSON from a URL using core java libraries and third-party libraries.
Different ways of setting up a MongoDB connection.
Different ways of counting documents using Spring Data MongoDB.
Different ways to create unique fields via indexes with Spring Data.
Simple and compound index, generated and custom ids in MongoDB exemplified by a Spring Data Mongo application.
Learn how to configure MongoDB collection names for classes using Spring Data.
Explore many ways we can handle exceptions using Jersey.