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
- Author:
- Stéphane Épardaud
- See Also:
-
Field Summary
Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(ServletConfig config) Called by the servlet container to indicate to a servlet that the servlet is being placed into service.voidprotected 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, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
JSAPIServlet
public JSAPIServlet()
-
-
Method Details
-
init
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:
-
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:
-
scanResources
- Throws:
Exception
-