Package de.xima.fc.servlet
Class GenericRESTServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- de.xima.fc.servlet.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 Summary
Fields Modifier and Type Field Description protected static org.slf4j.Logger
LOG
Deprecated.
-
Constructor Summary
Constructors Constructor Description GenericRESTServlet()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
doDelete(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
Deprecated.Nimmt Rest-Anfrage zum Löschen entgegen, Weiterleitung zuhandleRequest(HttpServletRequest, HttpServletResponse)
protected void
doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
Deprecated.Nimmt Rest-Anfragen zum Lesen entgegen, Weiterleitung zuhandleRequest(HttpServletRequest, HttpServletResponse)
protected void
doOptions(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
Deprecated.protected void
doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
Deprecated.Nimmt Rest-Anfragen zum Anlegen entgegen, Weiterleitung zuhandleRequest(HttpServletRequest, HttpServletResponse)
protected void
doPut(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
Deprecated.Nimmt Rest-Anfrage zum Aktualisieren entgegen, Weiterleitung zuhandleRequest(HttpServletRequest, HttpServletResponse)
-
Methods inherited from class javax.servlet.http.HttpServlet
doHead, doTrace, getLastModified, service, service
-
-
-
-
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 zuhandleRequest(HttpServletRequest, HttpServletResponse)
- Overrides:
doGet
in classjavax.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 zuhandleRequest(HttpServletRequest, HttpServletResponse)
- Overrides:
doPost
in classjavax.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 zuhandleRequest(HttpServletRequest, HttpServletResponse)
- Overrides:
doPut
in classjavax.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 zuhandleRequest(HttpServletRequest, HttpServletResponse)
- Overrides:
doDelete
in classjavax.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 classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
-
-