Files
java-design-patterns/partial-response/README.md
T
omahs 01e3d9dc4b fix: Fix typos (#2834)
* fix typos

* fix typo

* fix typo

* fix typos

* fix typo
2024-03-23 12:39:30 +02:00

25 lines
583 B
Markdown

---
title: Partial Response
category: Behavioral
language: en
tag:
- Decoupling
---
## Intent
Send partial response from server to client on need basis. Client will specify the fields
that it needs to server, instead of serving all details for resource.
## Class diagram
![alt text](./etc/partial-response.urm.png "partial-response")
## Applicability
Use the Partial Response pattern when
* Client needs only subset of data from resource.
* To avoid too much data transfer over wire
## Credits
* [Common Design Patterns](https://cloud.google.com/apis/design/design_patterns)