eclipse-ee4j / eclipse-ee4j/jersey
Public method for generating WADL
- Dominant language
- Java
- Stars
- 730
- Forks
- 382
- PR merge metrics
- No merged PRs in 30d
Description
I would appreciate having a public interface for generating the WADL for a Jersey application.
We use Jersey embedded in a process which has HTTP running on two ports: a primary service port and an auxiliary administration port. Our requirement is to have the "/application.wadl" resource disabled on the primary port, but to have a resource on the administration port that returns the WADL for the primary port.
I have implemented this by constructing a WadlApplicationContextImpl using the primary port's ServiceLocator and then using reflection to stuff it into the wadlContext field of a constructed WadlResource, but using two classes out of an internal package seems fragile to future changes to Jersey.
Contributor guide
Assessment
This issue has not been assessed yet.