spring-framework / org.springframework.http.client / Netty4ClientHttpRequestFactory / setMaxResponseSize

setMaxResponseSize

open fun setMaxResponseSize(maxResponseSize: Int): Unit

Set the default maximum response size.

By default this is set to #DEFAULT_MAX_RESPONSE_SIZE.

See Also
HttpObjectAggregator#HttpObjectAggregator(int)

Since
4.1.5