docs: protected void processRequest(HttpServletRequest request, HttpServletResponse response)
              throws ServletException, IOException {
              log.severe("Binary content has been requested");
          
          String repository = request.getParameter("repository");
          String workspace = request.getParameter("workspace");
          String path = request.getParameter("path");
          String property = request.getParameter("property");
  
          Connector connector = (Connector) request.getSession().getAttribute("connector");
          try {
              Session session = connector.find(repository).session(workspace);
              Node node = session.getNode(path);
  
              Property p;
              try {
                  p = node.getProperty(property);
              } catch (PathNotFoundException e) {
                  response.setContentType("text/html");
                  PrintWriter writer = response.getWriter();
                  writer.write("<html>");
                  writer.write("<p>Content not found or recently removed</p>");
                  writer.write("</html>");
                  return;
              }
              
              Binary binary = p.getBinary();
  
  
              InputStream in = binary.getStream();
              String contentType = node.getProperty("jcr:mimeType").getString();
  
              response.setContentType(contentType);
  
              int b;
              while ((b = in.read()) != -1) {
                  response.getOutputStream().write(b);
              }
  
              log.severe("Sent binary content");
              binary.dispose();
  
          } catch (Exception e) {
              throw new ServletException(e);
          }
      }