In Spring (4.3.9):
A Request param sent from client as null to server, the null object is getting treated as string null in the request when obtained via request-param like:
@RequestParam(value = key, required = false) Integer key
As for as the solution goes, I can handle this via client and prevent the null from being passed in the first place and I couldn't get a clear solution from this (JavaScript: Formdata append null value - NumberFormatException).
Can anyone please help me out as to what class or method in spring framework does this conversion from a null object to string null.
HttpMessageConverterand theConverterframework generally, but you haven't really described enough of your case to understand if there's an underlying problem (for example, it's not clear whether you means == nullors.equals("null")). Including an actual HTTP request would be helpful.