@WebServlet(name="IagoGame",
loadOnStartup=1,
description="This servlet loads the Iago platform.",
urlPatterns="/game")
public class GameBridge
extends javax.servlet.http.HttpServlet
Modifier and Type | Field and Description |
---|---|
(package private) java.util.logging.Logger |
logger |
Constructor and Description |
---|
GameBridge()
Constructor for the GameBridge.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
onClose(javax.websocket.Session session,
javax.websocket.CloseReason cr) |
void |
onMessage(javax.websocket.Session session,
java.lang.String msg,
boolean last) |
void |
onOpen(javax.websocket.Session session,
javax.websocket.EndpointConfig config) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public GameBridge() throws java.lang.Exception
java.lang.Exception
public void onOpen(javax.websocket.Session session, javax.websocket.EndpointConfig config)
public void onClose(javax.websocket.Session session, javax.websocket.CloseReason cr)
public void onMessage(javax.websocket.Session session, java.lang.String msg, boolean last)
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException