admin管理员组

文章数量:1279084

When frontend sends request to backend application on my end (java spring), it returns PayloadTooLargeException: 413 PAYLOAD_TOO_LARGE, with stacktrace:

Caused by: .springframework.core.io.buffer.DataBufferLimitException: Exceeded limit on max bytes to buffer : 262144
at .springframework.core.io.buffer.LimitedDataBufferList.raiseLimitException(LimitedDataBufferList.java:99)
at .springframework.core.io.buffer.LimitedDataBufferList.updateCount(LimitedDataBufferList.java:92)
at .springframework.core.io.buffer.LimitedDataBufferList.add(LimitedDataBufferList.java:58)
at reactor.core.publisher.MonoCollect$CollectSubscriber.onNext(MonoCollect.java:103)

is there a way to increase buffer size for one particular endpoint on my end? I know I can increase buffer in general but I'd keep it as is for all the rest and only increase for the ones that I need to.

本文标签: PayloadTooLargeException 413 PAYLOADTOOLARGE in java spring application (on my end)Stack Overflow