Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 771 Bytes

File metadata and controls

29 lines (23 loc) · 771 Bytes
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

Applicability

Use the Partial Response pattern when

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

Credits