Class GenericRESTServlet

  • All Implemented Interfaces:
    Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    @Deprecated
    @WebServlet(name="GenericRESTServlet",
                urlPatterns={"/servlet/*","/rest/*"},
                asyncSupported=true)
    public class GenericRESTServlet
    extends javax.servlet.http.HttpServlet
    Deprecated.
    This is part of the legacy REST API that will be removed at some point.
    Generisches/Allgemeines Servlet für CRUD-Operation auf Entitäten
    Author:
    XIMA MEDIA GmbH
    See Also:
    Serialized Form
    • Field Detail

      • LOG

        protected static final org.slf4j.Logger LOG
        Deprecated.
    • Constructor Detail

      • GenericRESTServlet

        public GenericRESTServlet()
        Deprecated.
    • Method Detail

      • doGet

        protected void doGet​(javax.servlet.http.HttpServletRequest req,
                             javax.servlet.http.HttpServletResponse resp)
                      throws javax.servlet.ServletException,
                             IOException
        Deprecated.
        Nimmt Rest-Anfragen zum Lesen entgegen, Weiterleitung zu handleRequest(HttpServletRequest, HttpServletResponse)
        Overrides:
        doGet in class javax.servlet.http.HttpServlet
        Throws:
        javax.servlet.ServletException
        IOException
      • doPost

        protected void doPost​(javax.servlet.http.HttpServletRequest req,
                              javax.servlet.http.HttpServletResponse resp)
                       throws javax.servlet.ServletException,
                              IOException
        Deprecated.
        Nimmt Rest-Anfragen zum Anlegen entgegen, Weiterleitung zu handleRequest(HttpServletRequest, HttpServletResponse)
        Overrides:
        doPost in class javax.servlet.http.HttpServlet
        Throws:
        javax.servlet.ServletException
        IOException
      • doPut

        protected void doPut​(javax.servlet.http.HttpServletRequest req,
                             javax.servlet.http.HttpServletResponse resp)
                      throws javax.servlet.ServletException,
                             IOException
        Deprecated.
        Nimmt Rest-Anfrage zum Aktualisieren entgegen, Weiterleitung zu handleRequest(HttpServletRequest, HttpServletResponse)
        Overrides:
        doPut in class javax.servlet.http.HttpServlet
        Throws:
        javax.servlet.ServletException
        IOException
      • doDelete

        protected void doDelete​(javax.servlet.http.HttpServletRequest req,
                                javax.servlet.http.HttpServletResponse resp)
                         throws javax.servlet.ServletException,
                                IOException
        Deprecated.
        Nimmt Rest-Anfrage zum Löschen entgegen, Weiterleitung zu handleRequest(HttpServletRequest, HttpServletResponse)
        Overrides:
        doDelete in class javax.servlet.http.HttpServlet
        Throws:
        javax.servlet.ServletException
        IOException
      • doOptions

        protected void doOptions​(javax.servlet.http.HttpServletRequest req,
                                 javax.servlet.http.HttpServletResponse resp)
                          throws javax.servlet.ServletException,
                                 IOException
        Deprecated.
        Overrides:
        doOptions in class javax.servlet.http.HttpServlet
        Throws:
        javax.servlet.ServletException
        IOException