X Tutup
Skip to content

Commit 91048a4

Browse files
author
Gopinath Langote
committed
iluwatar#631 - Partial Response : Add Readme.
1 parent fb3a998 commit 91048a4

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

partial-response/README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
layout: pattern
3+
title: Partial Response
4+
folder: partial-response
5+
permalink: /patterns/partial-response/
6+
categories: Architectural
7+
tags:
8+
- Java
9+
- KISS
10+
- YAGNI
11+
- Difficulty-Beginner
12+
---
13+
14+
## Intent
15+
Send partial response from server to client on need basis. Client will specify the the fields
16+
that it need to server, instead of serving all details for resource.
17+
18+
![alt text](./etc/partial-response.urm.png "partial-response")
19+
20+
## Applicability
21+
Use the Partial Response pattern when
22+
23+
* Client need only subset of data from resource.
24+
* To avoid too much data transfer over wire
25+
26+
## Credits
27+
28+
* [Common Design Patterns](https://cloud.google.com/apis/design/design_patterns)
29+
* [Partial Response in RESTful API Design](http://yaoganglian.com/2013/07/01/partial-response/)
27.1 KB
Loading

0 commit comments

Comments
 (0)
X Tutup