Spring Boot Project using Kafka and R2DBC (Part IV)

Gabriel Martins
Apr 29, 2021

Now, let’s create the web classes that will be used to map requests to domain classes.

DTO Classes

The PersonDTO class:

The ErrorDTO class:

Mapper Classes

The PersonWebMapper class:

Controller Classes

The SavePersonController class:

The ExceptionHandlerController class:

Configuration Classes

To configure some features such as pagination, we can create the following class:

Related Links

Previous Tutorial: Tutorial Part III

Next Tutorial: Tutorial Part V

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Gabriel Martins
Gabriel Martins

Written by Gabriel Martins

Just a brazilian guy who loves technology and wants to share the experiences he has learned

No responses yet

Write a response