Package jmri.web.servlet.panel
Class PanelServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- jmri.web.servlet.panel.AbstractPanelServlet
-
- jmri.web.servlet.panel.PanelServlet
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
@WebServlet(name="PanelServlet", urlPatterns={"/panel","/panel/Panel","/web/showPanel.html"}) public class PanelServlet extends AbstractPanelServlet
Return xml (for specified Panel) suitable for use by external clients.See JMRI Web Server - Panel Servlet Help in help/en/html/web/PanelServlet.shtml for an example description of the interaction between the Web Servlets, the Web Browser and the JMRI application.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class jmri.web.servlet.panel.AbstractPanelServlet
mapper
-
-
Constructor Summary
Constructors Constructor Description PanelServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getJsonPanel(java.lang.String name)
protected java.lang.String
getPanelType()
protected java.lang.String
getXmlPanel(java.lang.String name)
-
Methods inherited from class jmri.web.servlet.panel.AbstractPanelServlet
doGet, getEditor, getPanel, getPanelImage, getPanelText, getSignalMastIconsElement, init, listPanels, parsePortableURIs, positionableElement
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
-
-
-
-
Constructor Detail
-
PanelServlet
public PanelServlet()
-
-
Method Detail
-
getPanelType
protected java.lang.String getPanelType()
- Specified by:
getPanelType
in classAbstractPanelServlet
-
getXmlPanel
protected java.lang.String getXmlPanel(java.lang.String name)
- Specified by:
getXmlPanel
in classAbstractPanelServlet
-
getJsonPanel
protected java.lang.String getJsonPanel(java.lang.String name)
- Specified by:
getJsonPanel
in classAbstractPanelServlet
-
-