public final class PeerServlet
extends org.eclipse.jetty.websocket.servlet.WebSocketServlet
Constructor and Description |
---|
PeerServlet() |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.eclipse.jetty.websocket.servlet.WebSocketServletFactory factory)
Configure the WebSocket factory
|
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Process HTTP POST request
|
destroy, init, service
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service
public void configure(org.eclipse.jetty.websocket.servlet.WebSocketServletFactory factory)
configure
in class org.eclipse.jetty.websocket.servlet.WebSocketServlet
factory
- WebSocket factoryprotected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, java.io.IOException
doPost
in class javax.servlet.http.HttpServlet
req
- HTTP requestresp
- HTTP responsejavax.servlet.ServletException
- Servlet processing errorjava.io.IOException
- I/O error