We should consider splitting this method into several, having parameters not marked as required=false and annotated with @RequestParam(..., params="containerId") etc.