public class IlvDiagrammerServlet extends IlvSDMServlet
IlvDiagrammerServlet
is an extension of the basic
IlvSDMServlet
class that can load Diagrammer
project files and use Diagrammer data sources.IlvDiagrammer
,
IlvDiagrammerProject
,
Serialized FormConstructor and Description |
---|
IlvDiagrammerServlet()
Creates a new
IlvDiagrammerServlet instance. |
Modifier and Type | Method and Description |
---|---|
protected IlvSDMServletSupport |
createServletSupport()
Deprecated.
Beginning with JViews 8.0 use
createServletSupport(ServletContext) instead. |
protected IlvSDMServletSupport |
createServletSupport(jakarta.servlet.ServletContext context)
Returns a new instance of
IlvDiagrammerServletSupport . |
String |
getDefaultProject()
Returns the default project file.
|
IlvDiagrammer |
getDiagrammer(jakarta.servlet.http.HttpServletRequest request)
Returns the
IlvDiagrammer object used to
compute the diagram for a given request. |
void |
init(jakarta.servlet.ServletConfig config)
This method is overridden to handle the
"project" parameter of
the diagrammer.servlet configuration. |
void |
setDefaultProject(String project)
Sets the default project file.
|
void |
setProject(jakarta.servlet.http.HttpServletRequest request,
String project)
Loads a Diagrammer project file.
|
addServerActionListener, doGet, doPost, getDataURL, getDefaultStyleSheet, getDefaultXmlFile, getJPEGQuality, getServletSupport, isMultiSession, isVerbose, prepareSession, removeServerActionListener, setDataURL, setDefaultStyleSheet, setDefaultXmlFile, setJPEGQuality, setMultiSession, setStyleSheet, setVerbose, setXmlFile
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public IlvDiagrammerServlet()
IlvDiagrammerServlet
instance.public void init(jakarta.servlet.ServletConfig config) throws jakarta.servlet.ServletException
"project"
parameter of
the diagrammer.servlet configuration.init
in interface jakarta.servlet.Servlet
init
in class IlvSDMServlet
config
- The object holding the configuration information for the servlet.jakarta.servlet.ServletException
@Deprecated protected IlvSDMServletSupport createServletSupport()
createServletSupport(ServletContext)
instead.IlvDiagrammerServletSupport
.createServletSupport
in class IlvSDMServlet
protected IlvSDMServletSupport createServletSupport(jakarta.servlet.ServletContext context)
IlvDiagrammerServletSupport
.createServletSupport
in class IlvSDMServlet
context
- The servlet context.public void setDefaultProject(String project)
init(jakarta.servlet.ServletConfig)
method of the
diagrammer.servlet to initialize the default project to display when a new
client connects to the diagrammer.servlet.project
- The new project file.public String getDefaultProject()
public void setProject(jakarta.servlet.http.HttpServletRequest request, String project)
request
- The request being processed.project
- The URL of the project file.public IlvDiagrammer getDiagrammer(jakarta.servlet.http.HttpServletRequest request)
IlvDiagrammer
object used to
compute the diagram for a given request.request
- The request being processed.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.