Skip to main content

Partial Response

BehavioralDecouplingLess than 1 minute

Intent

Send partial response from server to client on need basis. Client will specify the fields
that it needs to server, instead of serving all details for resource.

Class diagram

alt text
partial-response

Applicability

Use the Partial Response pattern when

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

Credits