Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 655 Bytes

File metadata and controls

26 lines (20 loc) · 655 Bytes
layout title folder permalink categories tags
pattern
Partial Response
partial-response
/patterns/partial-response/
Behavioral
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

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