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/*", 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.LoggerLOGDeprecated.
-
Constructor Summary
Constructors Constructor Description GenericRESTServlet()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voiddoDelete(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)Deprecated.Nimmt Rest-Anfrage zum Löschen entgegen, Weiterleitung zuhandleRequest(HttpServletRequest, HttpServletResponse)protected voiddoGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)Deprecated.Nimmt Rest-Anfragen zum Lesen entgegen, Weiterleitung zuhandleRequest(HttpServletRequest, HttpServletResponse)protected voiddoOptions(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)Deprecated.protected voiddoPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)Deprecated.Nimmt Rest-Anfragen zum Anlegen entgegen, Weiterleitung zuhandleRequest(HttpServletRequest, HttpServletResponse)protected voiddoPut(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, IOExceptionDeprecated.Nimmt Rest-Anfragen zum Lesen entgegen, Weiterleitung zuhandleRequest(HttpServletRequest, HttpServletResponse)- Overrides:
doGetin classjavax.servlet.http.HttpServlet- Throws:
javax.servlet.ServletExceptionIOException
-
doPost
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOExceptionDeprecated.Nimmt Rest-Anfragen zum Anlegen entgegen, Weiterleitung zuhandleRequest(HttpServletRequest, HttpServletResponse)- Overrides:
doPostin classjavax.servlet.http.HttpServlet- Throws:
javax.servlet.ServletExceptionIOException
-
doPut
protected void doPut(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOExceptionDeprecated.Nimmt Rest-Anfrage zum Aktualisieren entgegen, Weiterleitung zuhandleRequest(HttpServletRequest, HttpServletResponse)- Overrides:
doPutin classjavax.servlet.http.HttpServlet- Throws:
javax.servlet.ServletExceptionIOException
-
doDelete
protected void doDelete(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOExceptionDeprecated.Nimmt Rest-Anfrage zum Löschen entgegen, Weiterleitung zuhandleRequest(HttpServletRequest, HttpServletResponse)- Overrides:
doDeletein classjavax.servlet.http.HttpServlet- Throws:
javax.servlet.ServletExceptionIOException
-
doOptions
protected void doOptions(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOExceptionDeprecated.- Overrides:
doOptionsin classjavax.servlet.http.HttpServlet- Throws:
javax.servlet.ServletExceptionIOException
-
-