@WebServlet(name="GenericRESTServlet",
urlPatterns={"/servlet/*","/rest/*"},
asyncSupported=true)
public class GenericRESTServlet
extends javax.servlet.http.HttpServlet
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
GenericRESTServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doDelete(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Nimmt Rest-Anfrage zum Löschen entgegen, Weiterleitung zu
handleRequest(HttpServletRequest, HttpServletResponse) |
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Nimmt Rest-Anfragen zum Lesen entgegen, Weiterleitung zu
handleRequest(HttpServletRequest, HttpServletResponse) |
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Nimmt Rest-Anfragen zum Anlegen entgegen, Weiterleitung zu
handleRequest(HttpServletRequest, HttpServletResponse) |
protected void |
doPut(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Nimmt Rest-Anfrage zum Aktualisieren entgegen, Weiterleitung zu
handleRequest(HttpServletRequest, HttpServletResponse) |
doHead, doOptions, doTrace, getLastModified, service, service
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
handleRequest(HttpServletRequest, HttpServletResponse)
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
handleRequest(HttpServletRequest, HttpServletResponse)
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected void doPut(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
handleRequest(HttpServletRequest, HttpServletResponse)
doPut
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected void doDelete(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
handleRequest(HttpServletRequest, HttpServletResponse)
doDelete
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.