public class RegistrationServlet extends RegistryBasedServlet
RegistrationRequest
sent to
http://hub:port/grid/register will be used to create a RemoteProxy and add it to the grid.Constructor and Description |
---|
RegistrationServlet() |
RegistrationServlet(GridRegistry registry) |
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) |
protected void |
process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
reply(javax.servlet.http.HttpServletResponse response,
java.lang.String content) |
getRegistry
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public RegistrationServlet()
public RegistrationServlet(GridRegistry registry)
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
doGet
in class javax.servlet.http.HttpServlet
java.io.IOException
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
doPost
in class javax.servlet.http.HttpServlet
java.io.IOException
protected void process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
java.io.IOException
protected void reply(javax.servlet.http.HttpServletResponse response, java.lang.String content) throws java.io.IOException
java.io.IOException