Package | Description |
---|---|
javax.servlet |
The javax.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.
|
javax.servlet.http |
The javax.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.
|
Modifier and Type | Class and Description |
---|---|
class |
GenericServlet
Defines a generic, protocol-independent servlet.
|
Modifier and Type | Method and Description |
---|---|
ServletConfig |
GenericServlet.getServletConfig()
Returns this servlet's
ServletConfig object. |
ServletConfig |
Servlet.getServletConfig()
Returns a
ServletConfig object, which contains initialization and startup parameters for this servlet. |
Modifier and Type | Method and 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.
|
Modifier and Type | Class and Description |
---|---|
class |
HttpServlet
Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site.
|
Comments to: servlet-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.