java - Limiting the maximum request size in Tomcat -


working on rest service based on spring boot embedded tomcat limit size of request body http method (post, put, get, ...).

i know of maxpostsize property of connector. property seems limit post requests. possibility imho implement javax.servlet.filter , check value of content-length header.

is there way achieve not aware of?

you may set multipart.maxrequestsize property in application.properties. default 10mb.


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -