Update to Jersey 2.x

https://www.pivotaltracker.com/story/show/52200823
Isn't it defined on httpservletrequest?
On Sep 23, 2014 4:01 PM, "ajs6f" <notifications@github.com> wrote:

> In
> fcrepo-http-commons/src/main/java/org/fcrepo/http/commons/session/SessionFactory.java:
>
> > @@ -216,7 +215,7 @@ protected Session getSessionFromTransaction(final HttpServletRequest servletRequ
> >       */
> >      protected String getEmbeddedId(
> >              final HttpServletRequest servletRequest, final Prefix prefix) {
> > -        final String requestPath = servletRequest.getPathInfo();
> > +        final String requestPath = servletRequest.getRequestURI();
>
> That is weird. But looking at the public API
> <https://jersey.java.net/apidocs/2.0/jersey/javax/ws/rs/core/UriInfo.html>,
> Jersey 2 doesn't offer getPathInfo at all. Was that a Jersey 1
> impl-specific method? Maybe it's better not to use it at all?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/fcrepo4/fcrepo4/pull/485/files#r17935037>.
>