Uses of Interface
jakarta.servlet.ServletConfig
Package | Description |
---|---|
jakarta.servlet |
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.
|
jakarta.servlet.http |
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 ServletConfig in jakarta.servlet
Classes in jakarta.servlet that implement ServletConfig Modifier and Type Class Description class
GenericServlet
Defines a generic, protocol-independent servlet.Methods in jakarta.servlet that return ServletConfig Modifier and Type Method Description ServletConfig
GenericServlet. getServletConfig()
Returns this servlet'sServletConfig
object.ServletConfig
Servlet. getServletConfig()
Returns aServletConfig
object, which contains initialization and startup parameters for this servlet.Methods in jakarta.servlet with parameters of type ServletConfig Modifier and Type Method Description void
GenericServlet. init(ServletConfig config)
Called by the servlet container to indicate to a servlet that the servlet is being placed into service.void
Servlet. init(ServletConfig config)
Called by the servlet container to indicate to a servlet that the servlet is being placed into service. -
Uses of ServletConfig in jakarta.servlet.http
Classes in jakarta.servlet.http that implement ServletConfig Modifier and Type Class Description class
HttpServlet
Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site.