Default Java Path Variable Vs Query Param