-
Notifications
You must be signed in to change notification settings - Fork 41.4k
Closed
Closed
Copy link
Description
See the following line in EndpointRequest
where the DispatcherServlet
is hardcoded:
Line 141 in fe3de28
context.getBean(DispatcherServletPathProvider.class) |
Since we are using Jersey in our application without the DispatcherServlet
on the classpath, an exception is thrown here, resulting in EMPTY_MATCHER
being used. The result for the client is that the EndpointRequest
never matches any pattern.
Our workaround is simply to use an AntMatcher
instead, but it would be nicer if this was fixed in EndpointRequest
so that we could use the more convenient EndpointMatcher
API.
At a minimum, it should be documented that EndpointRequest
matchers are only compatible with DispatcherServlet
Endpoints.
Metadata
Metadata
Assignees
Labels
type: bugA general bugA general bug