-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: 3.1.3.Final
-
Fix Version/s: 4.0.0.Beta1, 3.5.0.CR1
-
Component/s: jaxrs
-
Labels:
In both resteasy-netty and resteasy-netty4, NettyJaxrsServer ignores @ApplicationPath annotation. Test project is in attachment.
Also in UndertowJaxrsServer (from resteasy-undertow) there is a check for such annotation:
public UndertowJaxrsServer deploy(Class<? extends Application> application) |
{
|
ApplicationPath appPath = application.getAnnotation(ApplicationPath.class); |
String path = "/"; |
if (appPath != null) path = appPath.value(); |
return deploy(application, path); |
}
|