* Fix languages * Missed change for version number * Add language field for presentation * Revert change in README for double buffer Co-authored-by: Jackie Nim <=>
28 lines
668 B
Markdown
28 lines
668 B
Markdown
---
|
|
layout: pattern
|
|
title: Partial Response
|
|
folder: partial-response
|
|
permalink: /patterns/partial-response/
|
|
categories: Behavioral
|
|
language: en
|
|
tags:
|
|
- 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
|
|

|
|
|
|
## Applicability
|
|
Use the Partial Response pattern when
|
|
|
|
* Client need 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)
|