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) |
getRegistrydoDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic RegistrationServlet()
public RegistrationServlet(GridRegistry 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.HttpServletjavax.servlet.ServletExceptionjava.io.IOExceptionprotected 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.HttpServletjavax.servlet.ServletExceptionjava.io.IOExceptionprotected void process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
java.io.IOExceptionprotected void reply(javax.servlet.http.HttpServletResponse response,
java.lang.String content)
throws java.io.IOException
java.io.IOException