Package jmri.web.servlet.simple
Class SimpleServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.eclipse.jetty.websocket.servlet.WebSocketServlet
-
- jmri.web.servlet.simple.SimpleServlet
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
@WebServlet(name="SimpleServlet", urlPatterns="/simple") public class SimpleServlet extends org.eclipse.jetty.websocket.servlet.WebSocketServlet
WebSocket servlet for JMRI Simple service protocol.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SimpleServlet.SimpleWebSocket
-
Constructor Summary
Constructors Constructor Description SimpleServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(org.eclipse.jetty.websocket.servlet.WebSocketServletFactory factory)
protected void
doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
Methods inherited from class org.eclipse.jetty.websocket.servlet.WebSocketServlet
destroy, init, service
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
-
-
-
-
Constructor Detail
-
SimpleServlet
public SimpleServlet()
-
-
Method Detail
-
configure
public void configure(org.eclipse.jetty.websocket.servlet.WebSocketServletFactory factory)
- Specified by:
configure
in classorg.eclipse.jetty.websocket.servlet.WebSocketServlet
-
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
- Overrides:
doGet
in classjavax.servlet.http.HttpServlet
- Throws:
java.io.IOException
-
-