We are using this class to define our mapping, which means its
constructor must be public. Fixes Jersey reporting "No injection source
found for a parameter of type" fatal message.
JIRA: NETCONF-1157
Change-Id: I75031376ce3ee453d9a5d60b7917c34e57c831fe
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
* A JAX-RS parsing bridge to {@link ApiPath}.
*/
@NonNullByDefault
-final class JaxRsApiPath {
+public final class JaxRsApiPath {
final ApiPath apiPath;
/**
* @throws NullPointerException if {@code str} is {@code null}
* @throws BadRequestException if {@code str} cannmot be interpreted as an {@link ApiPath}
*/
- JaxRsApiPath(final String str) {
+ public JaxRsApiPath(final String str) {
try {
apiPath = ApiPath.parseUrl(str);
} catch (ParseException e) {