Uses of Interface
jakarta.servlet.Servlet
Packages that use Servlet
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 Servlet in jakarta.servlet
Classes in jakarta.servlet that implement ServletModifier and TypeClassDescriptionclassDefines a generic, protocol-independent servlet.Methods in jakarta.servlet with type parameters of type ServletModifier and TypeMethodDescription<T extends Servlet>
TServletContext.createServlet(Class<T> clazz) Instantiates the given Servlet class.Methods in jakarta.servlet with parameters of type ServletModifier and TypeMethodDescriptionServletContext.addServlet(String servletName, Servlet servlet) Registers the given servlet instance with this ServletContext under the given servletName.Method parameters in jakarta.servlet with type arguments of type ServletModifier and TypeMethodDescriptionServletContext.addServlet(String servletName, Class<? extends Servlet> servletClass) Adds the servlet with the given name and class type to this servlet context. -
Uses of Servlet in jakarta.servlet.http
Classes in jakarta.servlet.http that implement ServletModifier and TypeClassDescriptionclassProvides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. -
Uses of Servlet in org.glassfish.grizzly.servlet
Classes in org.glassfish.grizzly.servlet that implement ServletModifier and TypeClassDescriptionclassThis servlet will be invoked when no other servlet matches the request URI.Fields in org.glassfish.grizzly.servlet declared as ServletModifier and TypeFieldDescriptionprotected ServletServletRegistration.servletprotected ServletServletHandler.servletInstanceFields in org.glassfish.grizzly.servlet with type parameters of type ServletMethods in org.glassfish.grizzly.servlet with type parameters of type ServletModifier and TypeMethodDescription<T extends Servlet>
TWebappContext.createServlet(Class<T> clazz) Methods in org.glassfish.grizzly.servlet that return ServletModifier and TypeMethodDescriptionprotected ServletWebappContext.createServletInstance(Class<? extends Servlet> servletClass) Instantiates the given Servlet class.protected ServletWebappContext.createServletInstance(ServletRegistration registration) Instantiates the given Servlet class.ServletHandler.getServletInstance()Return theServletinstance used by thisServletHandlerMethods in org.glassfish.grizzly.servlet with parameters of type ServletModifier and TypeMethodDescriptionWebappContext.addServlet(String servletName, Servlet servlet) Registers the given servlet instance with this WebappContext under the given servletName.org.glassfish.grizzly.servlet.FilterChainImplFilterChainFactory.createFilterChain(ServletRequest request, Servlet servlet, DispatcherType dispatcherType) Construct and return a FilterChain implementation that will wrap the execution of the specified servlet instance.org.glassfish.grizzly.servlet.FilterChainImplFilterChainFactory.createFilterChain(Request request, Servlet servlet, DispatcherType dispatcherType) Construct and return a FilterChain implementation that will wrap the execution of the specified servlet instance.protected voidServletHandler.setServletInstance(Servlet servletInstance) Set theServletinstance used by thisServletHandlerMethod parameters in org.glassfish.grizzly.servlet with type arguments of type ServletModifier and TypeMethodDescriptionWebappContext.addServlet(String servletName, Class<? extends Servlet> servletClass) Adds the servlet with the given name and class type to this servlet context.protected ServletWebappContext.createServletInstance(Class<? extends Servlet> servletClass) Instantiates the given Servlet class.protected voidServletHandler.setServletClass(Class<? extends Servlet> servletClass) Constructors in org.glassfish.grizzly.servlet with parameters of type ServletModifierConstructorDescriptionprotectedServletRegistration(WebappContext ctx, String name, Servlet servlet) Creates a new ServletRegistration associated with the specifiedWebappContext.Constructor parameters in org.glassfish.grizzly.servlet with type arguments of type ServletModifierConstructorDescriptionprotectedServletRegistration(WebappContext ctx, String name, Class<? extends Servlet> servletClass) Creates a new ServletRegistration associated with the specifiedWebappContext.