public abstract class IlvChartServlet
extends jakarta.servlet.http.HttpServlet
chart| Constructor and Description |
|---|
IlvChartServlet()
Creates a Chart servlet.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract IlvChartServletSupport |
createServletSupport()
Creates an
IlvChartServletSupport instance. |
protected void |
doGet(jakarta.servlet.http.HttpServletRequest request,
jakarta.servlet.http.HttpServletResponse response)
Responds to the servlet request.
|
protected void |
doPost(jakarta.servlet.http.HttpServletRequest request,
jakarta.servlet.http.HttpServletResponse response)
Responds to the servlet request.
|
protected IlvServletConfigParameters |
getConfigParameters()
Returns the servlet configuration parameters.
|
protected IlvChartServletSupport |
getServletSupport()
Returns the support for this servlet.
|
void |
init(jakarta.servlet.ServletConfig config)
This method is invoked by the servlet container to indicate that the
servlet is being placed into service.
|
protected void |
prepareSession(jakarta.servlet.http.HttpServletRequest request)
Prepares a session for the client.
|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic void init(jakarta.servlet.ServletConfig config)
throws jakarta.servlet.ServletException
configuration parameters
for later use.
It is always preferable to override the init() method
instead of this one. If you do override this method, you must make sure that
super.init(config) is called.
init in interface jakarta.servlet.Servletinit in class jakarta.servlet.GenericServletconfig - The servlet configuration.jakarta.servlet.ServletExceptionprotected abstract IlvChartServletSupport createServletSupport()
IlvChartServletSupport instance. This method is called by the
{link #getServletSupport} method when the support has not been created.
This method should be overridden to provide a default implementation.getServletSupport()protected IlvChartServletSupport getServletSupport()
createServletSupport() is called first.protected IlvServletConfigParameters getConfigParameters()
protected void prepareSession(jakarta.servlet.http.HttpServletRequest request)
throws jakarta.servlet.ServletException
request - The current HTTP request.jakarta.servlet.ServletException - If the request for the GET could not be
handled.protected void doGet(jakarta.servlet.http.HttpServletRequest request,
jakarta.servlet.http.HttpServletResponse response)
throws IOException,
jakarta.servlet.ServletException
prepareSession(jakarta.servlet.http.HttpServletRequest) then IlvChartServletSupport.handleRequest(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse).
You normally do not need to override this method. If you would like to add
a new request type, override the IlvChartServletSupport.handleRequest(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse)
method instead.doGet in class jakarta.servlet.http.HttpServletrequest - The current HTTP request.response - The HTTP response.IOException - If an input or output error is detected when the
servlet handles the GET request.jakarta.servlet.ServletException - If the request for the GET could not be
handled.protected void doPost(jakarta.servlet.http.HttpServletRequest request,
jakarta.servlet.http.HttpServletResponse response)
throws IOException,
jakarta.servlet.ServletException
doGet(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse).doPost in class jakarta.servlet.http.HttpServletrequest - The current HTTP request.response - The HTTP response.IOException - If an input or output error is detected when the
servlet handles the POST request.jakarta.servlet.ServletException - If the request for the POST could not be
handled.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.