Dropwizrd example is limited to my knowledge. Did not get much out it.
Hi, I’m also interested in using your lib with our play framework application, but in the dropwizard sample I see that the ViewerHandler requires a
javax.servlet.http.HttpServletRequest to get the different handlers for the UI, and play! doesn’t use that HttpServletRequest. Is it possible to modify the behaviour so that it doesn’t depend on HttpServletRequest ?
Hi, thank you for your reply, but it’s still not clear to me. As far as I understand, in the dropwizard sample you define multiple http endpoints for the different handlers used in the UI client, for instance getJsHandler uses viewerHandler.getJsHandler to get the appropriate handler, but that method is not implemented in the ViewerHandlerBasic class. ¿What are the necessary handlers that we need to implement?.
Hi, I’ve been trying to integrate the library with our play! project with no success so far. My approach was to use the ViewerHandlerBasic as sugested for implementing the neccessary http endpoints in play! without depending on servlets.
Hello, thanks for your help.
Hello, basically I’m using the java web sample changing to use ViewerHandlerBasic. You can find the working project here. The error happens in the GetDocumentPageImageHandlerServlet class, if I uncomment line 33 and comment 36-38 the application works correctly with the other changes.
Hello, ok good. Thank you very much.
Hello, it’s been a while since my last inquiry about this. I wonder if it’s already fixed in the new version before I jump into trying again, we already acquired the license for all the Java libraries but using the servlet implementation and right now we’re facing a situation where we can’t use servlets for the viewer but we need to integrate it directly in our play framework project.