0

I'd like to match a nested path of rest url, e.g. I'd like use one parameter to capture /folder_1/folder_2/a.sh for the following rest url. Is there any way to do that in spring boot. And BTW, I also want to match the empty path if it is /files. Thanks

/files/folder_1/folder_2/a.sh
zjffdu
  • 25,496
  • 45
  • 109
  • 159

1 Answers1

1

The answer is regexp pattern using MappingRequest. You can find a similar question here

viking
  • 260
  • 2
  • 10