flow icon indicating copy to clipboard operation
flow copied to clipboard

Enable the exclusion of handling specific URLs

Open tarekoraby opened this issue 2 years ago • 2 comments

For some use cases, it is desirable to exclude specific URLs from being handled by Vaadin (without changing the Vaadin URL mapping). For example, to integrate Swagger-UI, it would be desirable that Vaadin would refrain from handling requests for /swagger-ui.html.

Currently, Flow seems to already respect any added Spring REST controllers by not interfering with their handling. So, it would be good to extend this automatic exclusion of URL-handling to other things such as Swagger. Or alternatively, it would be useful to provide some mechanism by which the user can explicitly exclude certain URLs from being handled by Flow.

tarekoraby avatar Feb 08 '22 09:02 tarekoraby

The same problem I encountered with Camunda BPM

simasch avatar Feb 08 '22 10:02 simasch

This causes issue #10163. We should introduce a config value vaadin.url-exclusion so all requests forward to this URL will redirect to Spring servlet.

letrthang avatar Jul 24 '22 04:07 letrthang

This ticket/PR has been released with Vaadin 23.3.0.

vaadin-bot avatar Dec 13 '22 18:12 vaadin-bot