Class MCRQRCodeServlet

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

public class MCRQRCodeServlet extends MCRContentServlet
Author:
Thomas Scheffler(yagee)
See Also:
  • Constructor Details

    • MCRQRCodeServlet

      public MCRQRCodeServlet()
  • Method Details

    • init

      public void init() throws jakarta.servlet.ServletException
      Overrides:
      init in class MCRContentServlet
      Throws:
      jakarta.servlet.ServletException
    • destroy

      public void destroy()
      Specified by:
      destroy in interface jakarta.servlet.Servlet
      Overrides:
      destroy in class jakarta.servlet.GenericServlet
    • getContent

      public MCRContent getContent(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) throws IOException
      Description copied from class: MCRContentServlet
      Returns MCRContent matching current request.
      Specified by:
      getContent in class MCRContentServlet
      Throws:
      IOException
    • toBufferedImage

      public static BufferedImage toBufferedImage(com.google.zxing.common.BitMatrix matrix)