#631 - Partial Response : Add Readme.
This commit is contained in:
parent
fb3a998c04
commit
91048a49b4
29
partial-response/README.md
Normal file
29
partial-response/README.md
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
layout: pattern
|
||||||
|
title: Partial Response
|
||||||
|
folder: partial-response
|
||||||
|
permalink: /patterns/partial-response/
|
||||||
|
categories: Architectural
|
||||||
|
tags:
|
||||||
|
- Java
|
||||||
|
- KISS
|
||||||
|
- YAGNI
|
||||||
|
- Difficulty-Beginner
|
||||||
|
---
|
||||||
|
|
||||||
|
## 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.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## 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)
|
||||||
|
* [Partial Response in RESTful API Design](http://yaoganglian.com/2013/07/01/partial-response/)
|
BIN
partial-response/etc/partial-response.urm.png
Normal file
BIN
partial-response/etc/partial-response.urm.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
Loading…
x
Reference in New Issue
Block a user