Class ResponseSizeCapturingInterceptor

java.lang.Object
ca.uhn.fhir.rest.server.interceptor.ResponseSizeCapturingInterceptor

This interceptor captures and makes available the number of characters written (pre-compression if Gzip compression is being used) to the HTTP response stream for FHIR responses.

Response details are made available in the request RequestDetails UserData map with RESPONSE_RESULT_KEY as the key.

Since:
5.0.0