Skip to content

Spring ResponseBodyAdvice is not call with an empty body

Notifications You must be signed in to change notification settings

ralemanc/springEmptyBodyAdvice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

springEmptyBodyAdvice

Spring ResponseBodyAdvice is not call with an empty body

According with these issues:

with the resolution in this commit:

even if the body is empty the ResponseBodyAdvice should be call.

In this method, there is a previous check that force to not call the advice: ServletInvocableHandlerMethod.invokeAndHandle

To Check: RequestResponseBodyAdviceChain

This code is to test that when the body is null the advice is not called.

About

Spring ResponseBodyAdvice is not call with an empty body

Topics

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages