I have Spring boot app running Java 11:
org.springframework.boot spring-boot-star
Please try server.max-http-header-size. I have found it here: Common application properties.
server.max-http-header-size
The default value for Tomcat and Jetty is 8KB and for Undertow is 1MB.