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 java.io.IOException
doPost
in class javax.servlet.http.HttpServlet
req
- HTTP requestresp
- HTTP responsejava.io.IOException
- I/O error