mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 16:58:47 +00:00
3ae6b07590
* 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
title, category, language, tag
| title | category | language | tag | |
|---|---|---|---|---|
| Partial Response | Behavioral | en |
|
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
Applicability
Use the Partial Response pattern when
- Client need only subset of data from resource.
- To avoid too much data transfer over wire
