Package org.jboss.resteasy.jsapi
Class JSAPIServlet
- java.lang.Object
-
- jakarta.servlet.GenericServlet
-
- jakarta.servlet.http.HttpServlet
-
- org.jboss.resteasy.jsapi.JSAPIServlet
-
- All Implemented Interfaces:
Servlet,ServletConfig,Serializable
public class JSAPIServlet extends HttpServlet
- Author:
- Stéphane Épardaud
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD
-
-
Constructor Summary
Constructors Constructor Description JSAPIServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(ServletConfig config)Called by the servlet container to indicate to a servlet that the servlet is being placed into service.voidscanResources()protected voidservice(HttpServletRequest req, HttpServletResponse resp)Receives standard HTTP requests from the publicservicemethod and dispatches them to thedoXXX methods defined in this class.-
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
-
Methods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
-
-
-
Method Detail
-
init
public void init(ServletConfig config) throws ServletException
Description copied from class:GenericServletCalled by the servlet container to indicate to a servlet that the servlet is being placed into service. SeeServlet.init(jakarta.servlet.ServletConfig).This implementation stores the
ServletConfigobject it receives from the servlet container for later use. When overriding this form of the method, callsuper.init(config).- Specified by:
initin interfaceServlet- Overrides:
initin classHttpServlet- Parameters:
config- theServletConfigobject that contains configuration information for this servlet- Throws:
ServletException- if an exception occurs that interrupts the servlet's normal operation- See Also:
UnavailableException
-
service
protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
Description copied from class:HttpServletReceives standard HTTP requests from the publicservicemethod and dispatches them to thedoXXX methods defined in this class. This method is an HTTP-specific version of theServlet.service(jakarta.servlet.ServletRequest, jakarta.servlet.ServletResponse)method. There's no need to override this method.- Overrides:
servicein classHttpServlet- Parameters:
req- theHttpServletRequestobject that contains the request the client made of the servletresp- theHttpServletResponseobject that contains the response the servlet returns to the client- Throws:
ServletException- if the HTTP request cannot be handledIOException- if an input or output error occurs while the servlet is handling the HTTP request- See Also:
Servlet.service(jakarta.servlet.ServletRequest, jakarta.servlet.ServletResponse)
-
-