Skip to content

Files

Latest commit

1c0e0cd · Mar 31, 2018

History

History
This branch is 2060 commits behind iluwatar/java-design-patterns:master.

partial-response

layout title folder permalink categories tags
pattern
Partial Response
partial-response
/patterns/partial-response/
Architectural
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

Applicability

Use the Partial Response pattern when

  • Client need only subset of data from resource.
  • To avoid too much data transfer over wire

Credits