Files
java-design-patterns/partial-response
Mughees Qasim 3ae6b07590 refactoring: Issue #2377: The repository code has been refactored to use the recor… (#2505)
* Issue #2377: The repository code has been refactored to use the record class

* Issue #2377: Refactored according to the rules defined for the repo code

* Issue #2377: Refactored according to the rules defined for the repo code

* Issue #2377: Refactored according to the rules defined for the repo code
2023-05-06 12:08:12 +03:00
..
2019-12-07 18:03:49 +02:00

title, category, language, tag
title category language tag
Partial Response Behavioral en
Decoupling

Intent

Send partial response from server to client on need basis. Client will specify the the fields that it need to server, instead of serving all details for resource.

Class diagram

alt text

Applicability

Use the Partial Response pattern when

  • Client need only subset of data from resource.
  • To avoid too much data transfer over wire

Credits