Package jmri.web.servlet.panel
Class ControlPanelServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- jmri.web.servlet.panel.AbstractPanelServlet
-
- jmri.web.servlet.panel.ControlPanelServlet
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
@WebServlet(name="ControlPanelServlet", urlPatterns="/panel/ControlPanel") public class ControlPanelServlet extends AbstractPanelServlet
Return xml (for specified ControlPanel) 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 ControlPanelServlet()
-
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
-
ControlPanelServlet
public ControlPanelServlet()
-
-
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
-
-