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.Modifier and Type | Field and Description |
---|---|
private static java.util.logging.Logger |
log |
private static long |
serialVersionUID |
Constructor and Description |
---|
RegistrationServlet() |
RegistrationServlet(Registry 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
private static final long serialVersionUID
private static final java.util.logging.Logger log
public RegistrationServlet()
public RegistrationServlet(Registry registry)
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
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 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