Class DeregistrationTokenServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.intermine.webservice.server.core.WebServiceServlet
-
- org.intermine.webservice.server.user.DeregistrationTokenServlet
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class DeregistrationTokenServlet extends WebServiceServlet
A servlet for routing requests to do with deregistration.- Author:
- Alex Kalderimis.
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.intermine.webservice.server.core.WebServiceServlet
WebServiceServlet.Method
-
-
Field Summary
-
Fields inherited from class org.intermine.webservice.server.core.WebServiceServlet
api
-
-
Constructor Summary
Constructors Constructor Description DeregistrationTokenServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected WebService
getService(WebServiceServlet.Method method)
Implement this to route requests.protected void
respond(WebServiceServlet.Method method, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Respond to a request.-
Methods inherited from class org.intermine.webservice.server.core.WebServiceServlet
doDelete, doGet, doPost, doPut
-
Methods inherited from class javax.servlet.http.HttpServlet
doHead, doOptions, doTrace, getLastModified, service, service
-
-
-
-
Method Detail
-
respond
protected void respond(WebServiceServlet.Method method, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
Description copied from class:WebServiceServlet
Respond to a request.- Overrides:
respond
in classWebServiceServlet
- Parameters:
method
- The current method.request
- The request.response
- The response.- Throws:
javax.servlet.ServletException
- Well it could I suppose.java.io.IOException
- Entirely possible really.
-
getService
protected WebService getService(WebServiceServlet.Method method) throws NoServiceException
Description copied from class:WebServiceServlet
Implement this to route requests.- Specified by:
getService
in classWebServiceServlet
- Parameters:
method
- The current method.- Returns:
- A webservice handler.
- Throws:
NoServiceException
- If no handler matches the method.
-
-