Uses of Class
jakarta.servlet.ServletException
Packages that use ServletException
Package
Description
The jakarta.servlet package contains a number of classes and interfaces that describe and define the contracts between a servlet class and the runtime environment provided for an instance of such a class by a conforming servlet container.
The jakarta.servlet.http package contains a number of classes and interfaces that describe and define the contracts between a servlet class running under the HTTP protocol and the runtime environment provided for an instance of such a class by a conforming servlet container.
-
Uses of ServletException in io.undertow.servlet
Methods in io.undertow.servlet that return ServletExceptionModifier and TypeMethodDescriptionfinal ServletExceptionUndertowServletMessages_$bundle.authenticationFailed()UndertowServletMessages.authenticationFailed()final ServletExceptionUndertowServletMessages_$bundle.couldNotInstantiateComponent(String name, Exception e) UndertowServletMessages.couldNotInstantiateComponent(String name, Exception e) final ServletExceptionUndertowServletMessages_$bundle.deploymentStopped(String deployment) UndertowServletMessages.deploymentStopped(String deployment) final ServletExceptionUndertowServletMessages_$bundle.loginFailed()UndertowServletMessages.loginFailed()final ServletExceptionUndertowServletMessages_$bundle.noSecurityContextAvailable()UndertowServletMessages.noSecurityContextAvailable()final ServletExceptionUndertowServletMessages_$bundle.notAMultiPartRequest()UndertowServletMessages.notAMultiPartRequest()final ServletExceptionUndertowServletMessages_$bundle.noWebSocketHandler()UndertowServletMessages.noWebSocketHandler()final ServletExceptionUndertowServletMessages_$bundle.userAlreadyLoggedIn()UndertowServletMessages.userAlreadyLoggedIn() -
Uses of ServletException in io.undertow.servlet.api
Methods in io.undertow.servlet.api that throw ServletExceptionModifier and TypeMethodDescriptionvoidLifecycleInterceptor.destroy(FilterInfo filterInfo, Filter filter, LifecycleInterceptor.LifecycleContext context) voidLifecycleInterceptor.destroy(ServletInfo servletInfo, Servlet servlet, LifecycleInterceptor.LifecycleContext context) voidServletDispatcher.dispatchMockRequest(HttpServletRequest request, HttpServletResponse response) Dispatches a mock request to the servlet container.voidLifecycleInterceptor.init(FilterInfo filterInfo, Filter filter, LifecycleInterceptor.LifecycleContext context) voidLifecycleInterceptor.init(ServletInfo servletInfo, Servlet servlet, LifecycleInterceptor.LifecycleContext context) voidLifecycleInterceptor.LifecycleContext.proceed()DeploymentManager.start()Starts the container.voidDeploymentManager.stop() -
Uses of ServletException in io.undertow.servlet.core
Methods in io.undertow.servlet.core that throw ServletExceptionModifier and TypeMethodDescriptionvoidManagedFilter.createFilter()voidManagedServlet.createServlet()voidManagedFilter.doFilter(ServletRequest request, ServletResponse response, FilterChain chain) voidManagedFilter.forceInit()voidManagedServlet.forceInit()InstanceHandle<? extends Servlet>ManagedServlet.getServlet()voidApplicationListeners.start()DeploymentManagerImpl.start()voidLifecycle.start()voidManagedFilter.start()voidManagedListener.start()voidManagedServlet.start()voidDeploymentManagerImpl.stop()voidLifecycle.stop() -
Uses of ServletException in io.undertow.servlet.handlers
Methods in io.undertow.servlet.handlers that throw ServletExceptionModifier and TypeMethodDescriptionvoidServletInitialHandler.dispatchMockRequest(HttpServletRequest request, HttpServletResponse response) protected voidDefaultServlet.doDelete(HttpServletRequest req, HttpServletResponse resp) protected voidDefaultServlet.doGet(HttpServletRequest req, HttpServletResponse resp) protected voidDefaultServlet.doOptions(HttpServletRequest req, HttpServletResponse resp) protected voidDefaultServlet.doPost(HttpServletRequest req, HttpServletResponse resp) protected voidDefaultServlet.doPut(HttpServletRequest req, HttpServletResponse resp) protected voidDefaultServlet.doTrace(HttpServletRequest req, HttpServletResponse resp) voidServletHandler.handleRequest(HttpServerExchange exchange) voidDefaultServlet.init(ServletConfig config) -
Uses of ServletException in io.undertow.servlet.spec
Methods in io.undertow.servlet.spec that throw ServletExceptionModifier and TypeMethodDescriptionbooleanHttpServletRequestImpl.authenticate(HttpServletResponse response) <T extends Filter>
TServletContextImpl.createFilter(Class<T> clazz) <T extends AsyncListener>
TAsyncContextImpl.createListener(Class<T> clazz) <T extends EventListener>
TServletContextImpl.createListener(Class<T> clazz) <T extends Servlet>
TServletContextImpl.createServlet(Class<T> clazz) voidRequestDispatcherImpl.error(ServletRequestContext servletRequestContext, ServletRequest request, ServletResponse response, String servletName) voidRequestDispatcherImpl.error(ServletRequestContext servletRequestContext, ServletRequest request, ServletResponse response, String servletName, String message) voidRequestDispatcherImpl.error(ServletRequestContext servletRequestContext, ServletRequest request, ServletResponse response, String servletName, Throwable exception) voidRequestDispatcherImpl.forward(ServletRequest request, ServletResponse response) HttpServletRequestImpl.getParts()voidRequestDispatcherImpl.include(ServletRequest request, ServletResponse response) voidvoidHttpServletRequestImpl.logout()voidRequestDispatcherImpl.mock(ServletRequest request, ServletResponse response) -
Uses of ServletException in io.undertow.servlet.sse
Methods in io.undertow.servlet.sse that throw ServletExceptionModifier and TypeMethodDescriptionvoidServerSentEventSCI.onStartup(Set<Class<?>> c, ServletContext ctx) -
Uses of ServletException in io.undertow.servlet.websockets
Methods in io.undertow.servlet.websockets that throw ServletExceptionModifier and TypeMethodDescriptionprotected voidWebSocketServlet.doGet(HttpServletRequest req, HttpServletResponse resp) voidWebSocketServlet.init(ServletConfig config) -
Uses of ServletException in jakarta.servlet
Subclasses of ServletException in jakarta.servletModifier and TypeClassDescriptionclassDefines an exception that a servlet or filter throws to indicate that it is permanently or temporarily unavailable.Methods in jakarta.servlet that throw ServletExceptionModifier and TypeMethodDescription<T extends Filter>
TServletContext.createFilter(Class<T> clazz) Instantiates the given Filter class.<T extends AsyncListener>
TAsyncContext.createListener(Class<T> clazz) Instantiates the givenAsyncListenerclass.<T extends EventListener>
TServletContext.createListener(Class<T> clazz) Instantiates the given EventListener class.<T extends Servlet>
TServletContext.createServlet(Class<T> clazz) Instantiates the given Servlet class.voidFilter.doFilter(ServletRequest request, ServletResponse response, FilterChain chain) ThedoFiltermethod of the Filter is called by the container each time a request/response pair is passed through the chain due to a client request for a resource at the end of the chain.voidFilterChain.doFilter(ServletRequest request, ServletResponse response) Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked.voidRequestDispatcher.forward(ServletRequest request, ServletResponse response) Forwards a request from a servlet to another resource (servlet, JSP file, or HTML file) on the server.voidRequestDispatcher.include(ServletRequest request, ServletResponse response) Includes the content of a resource (servlet, JSP page, HTML file) in the response.default voidFilter.init(FilterConfig filterConfig) Called by the web container to indicate to a filter that it is being placed into service.voidGenericFilter.init()A convenience method which can be overridden so that there's no need to callsuper.init(config).voidGenericFilter.init(FilterConfig config) Called by the servlet container to indicate to a filter that it is being placed into service.voidGenericServlet.init()A convenience method which can be overridden so that there's no need to callsuper.init(config).voidGenericServlet.init(ServletConfig config) Called by the servlet container to indicate to a servlet that the servlet is being placed into service.voidServlet.init(ServletConfig config) Called by the servlet container to indicate to a servlet that the servlet is being placed into service.voidServletContainerInitializer.onStartup(Set<Class<?>> c, ServletContext ctx) Notifies this ServletContainerInitializer of the startup of the application represented by the given ServletContext.abstract voidGenericServlet.service(ServletRequest req, ServletResponse res) Called by the servlet container to allow the servlet to respond to a request.voidServlet.service(ServletRequest req, ServletResponse res) Called by the servlet container to allow the servlet to respond to a request. -
Uses of ServletException in jakarta.servlet.http
Methods in jakarta.servlet.http that throw ServletExceptionModifier and TypeMethodDescriptionbooleanHttpServletRequest.authenticate(HttpServletResponse response) Use the container login mechanism configured for theServletContextto authenticate the user making this request.booleanHttpServletRequestWrapper.authenticate(HttpServletResponse response) The default behavior of this method is to call authenticate on the wrapped request object.protected voidHttpServlet.doDelete(HttpServletRequest req, HttpServletResponse resp) Called by the server (via theservicemethod) to allow a servlet to handle a DELETE request.protected voidHttpFilter.doFilter(HttpServletRequest req, HttpServletResponse res, FilterChain chain) ThedoFiltermethod of the Filter is called by the container each time a request/response pair is passed through the chain due to a client request for a resource at the end of the chain.voidHttpFilter.doFilter(ServletRequest req, ServletResponse res, FilterChain chain) ThedoFiltermethod of the Filter is called by the container each time a request/response pair is passed through the chain due to a client request for a resource at the end of the chain.protected voidHttpServlet.doGet(HttpServletRequest req, HttpServletResponse resp) Called by the server (via theservicemethod) to allow a servlet to handle a GET request.protected voidHttpServlet.doHead(HttpServletRequest req, HttpServletResponse resp) Receives an HTTP HEAD request from the protectedservicemethod and handles the request.protected voidHttpServlet.doOptions(HttpServletRequest req, HttpServletResponse resp) Called by the server (via theservicemethod) to allow a servlet to handle a OPTIONS request.protected voidHttpServlet.doPost(HttpServletRequest req, HttpServletResponse resp) Called by the server (via theservicemethod) to allow a servlet to handle a POST request.protected voidHttpServlet.doPut(HttpServletRequest req, HttpServletResponse resp) Called by the server (via theservicemethod) to allow a servlet to handle a PUT request.protected voidHttpServlet.doTrace(HttpServletRequest req, HttpServletResponse resp) Called by the server (via theservicemethod) to allow a servlet to handle a TRACE request.Gets thePartwith the given name.The default behavior of this method is to call getPart on the wrapped request object.HttpServletRequest.getParts()Gets all thePartcomponents of this request, provided that it is of typemultipart/form-data.HttpServletRequestWrapper.getParts()The default behavior of this method is to call getParts on the wrapped request object.voidHttpServlet.init(ServletConfig config) voidValidate the provided username and password in the password validation realm used by the web container login mechanism configured for theServletContext.voidThe default behavior of this method is to call login on the wrapped request object.voidHttpServletRequest.logout()Establishnullas the value returned whengetUserPrincipal,getRemoteUser, andgetAuthTypeis called on the request.voidHttpServletRequestWrapper.logout()The default behavior of this method is to call login on the wrapped request object.protected voidHttpServlet.service(HttpServletRequest req, HttpServletResponse resp) Receives standard HTTP requests from the publicservicemethod and dispatches them to thedoXXX methods defined in this class.voidHttpServlet.service(ServletRequest req, ServletResponse res) Dispatches client requests to the protectedservicemethod.<T extends HttpUpgradeHandler>
TCreates an instance ofHttpUpgradeHandlerfor a given class and uses it for the http protocol upgrade processing.<T extends HttpUpgradeHandler>
TCreate an instance ofHttpUpgradeHandlerfor a given class and uses it for the http protocol upgrade processing. -
Uses of ServletException in jakarta.servlet.jsp
Methods in jakarta.servlet.jsp that throw ServletExceptionModifier and TypeMethodDescriptionvoidHttpJspPage._jspService(HttpServletRequest request, HttpServletResponse response) The _jspService()method corresponds to the body of the JSP page.abstract voidThis method is used to re-direct, or "forward" the current ServletRequest and ServletResponse to another active component in the application.abstract voidPageContext.handlePageException(Exception e) This method is intended to process an unhandled 'page' level exception by forwarding the exception to the specified error page for this JSP.abstract voidPageContext.handlePageException(Throwable t) This method is intended to process an unhandled 'page' level exception by forwarding the exception to the specified error page for this JSP.abstract voidCauses the resource specified to be processed as part of the current ServletRequest and ServletResponse being processed by the calling Thread.abstract voidCauses the resource specified to be processed as part of the current ServletRequest and ServletResponse being processed by the calling Thread. -
Uses of ServletException in org.jboss.resteasy.jsapi
Methods in org.jboss.resteasy.jsapi that throw ServletExceptionModifier and TypeMethodDescriptionvoidJSAPIServlet.init(ServletConfig config) protected voidJSAPIServlet.service(HttpServletRequest req, HttpServletResponse resp) -
Uses of ServletException in org.jboss.resteasy.plugins.server.servlet
Methods in org.jboss.resteasy.plugins.server.servlet that throw ServletExceptionModifier and TypeMethodDescriptionvoidFilterDispatcher.doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) voidFilterDispatcher.init(FilterConfig servletConfig) voidHttpServletDispatcher.init(ServletConfig servletConfig) voidServletContainerDispatcher.init(ServletContext servletContext, ConfigurationBootstrap bootstrap, HttpRequestFactory requestFactory, HttpResponseFactory responseFactory) protected voidHttpServletDispatcher.service(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) -
Uses of ServletException in org.jboss.wsf.stack.cxf.i18n
Methods in org.jboss.wsf.stack.cxf.i18n that return ServletExceptionModifier and TypeMethodDescriptionfinal ServletExceptionMessages_$bundle.cannotObtainDestinationFactoryForHttpTransport(Throwable cause) Messages.cannotObtainDestinationFactoryForHttpTransport(Throwable cause) final ServletExceptionMessages_$bundle.cannotObtainDestinationFor(String requestURI) Messages.cannotObtainDestinationFor(String requestURI) final ServletExceptionMessages_$bundle.cannotObtainRegistry(String registryInterfaceName) Messages.cannotObtainRegistry(String registryInterfaceName)