public class PInfranetServlet
extends javax.servlet.http.HttpServlet
PInfranetServlet
is the entrance point for WebKit server components.Constructor and Description |
---|
PInfranetServlet() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Cleans up open Infranet connections.
|
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Handles HTTP servlet
get requests. |
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Handles requests from HTML forms with input data.
|
void |
init(javax.servlet.ServletConfig config)
The servlet's initialization routine.
|
doDelete, doOptions, doPut, doTrace, getLastModified, service, service
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
- thrown if the default property file
is not foundpublic void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
public void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
get
requests.
All the requests from HTML or JSPs should be associated with
this parameter to control workflow.
request.encodeURL
) to support sessions when cookies are disableddoGet
in class javax.servlet.http.HttpServlet
req
- the servlet's requestres
- the servlet's responsejavax.servlet.ServletException
IOException
public void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
request.encodeURL
) to support sessions when cookies are disableddoPost
in class javax.servlet.http.HttpServlet
req
- the servlet's requestres
- the servlet's responsejavax.servlet.ServletException
IOException
Copyright © 2003, 2023, Oracle and/or its affiliates.