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(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,
String content) |
getRegistry
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public RegistrationServlet()
public RegistrationServlet(Registry registry)
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected void process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
IOException
protected void reply(javax.servlet.http.HttpServletResponse response, String content) throws IOException
IOException
Copyright © 2015. All rights reserved.