Skip to content

Commit

Permalink
iluwatar#631 - Partial Response : Add Readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gopinath Langote committed Sep 14, 2017
1 parent fb3a998 commit 91048a4
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions partial-response/README.md
Original file line number Diff line number Diff line change
@@ -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.

![alt text](./etc/partial-response.urm.png "partial-response")

## 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/)
Binary file added partial-response/etc/partial-response.urm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 91048a4

Please sign in to comment.