convert ContainerRequestContext to java parameters