public abstract class RemoteDaemonHttpServlet extends DaemonHttpServlet implements Remote
RemoteHttpServlet,
DaemonHttpServlet,
序列化表格| 限定符和类型 | 字段和说明 |
|---|---|
protected Registry |
registry
The registry for the servlet
|
DEFAULT_PORT| 构造器和说明 |
|---|
RemoteDaemonHttpServlet() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
bind()
Binds the servlet to the registry.
|
void |
destroy()
Halts the servlet's RMI operations and halts the thread listening for
socket connections.
|
protected String |
getRegistryName()
Returns the name under which the servlet should be bound in the
registry.
|
protected int |
getRegistryPort()
Returns the port where the registry should be running.
|
void |
init(javax.servlet.ServletConfig config)
Begins the servlet's RMI operations and begins a thread listening for
socket connections.
|
protected void |
unbind()
Unbinds the servlet from the registry.
|
getSocketPort, handleClientdoDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceprotected Registry registry
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init 在接口中 javax.servlet.Servletinit 在类中 DaemonHttpServletconfig - the servlet configjavax.servlet.ServletException - if a servlet exception occurspublic void destroy()
destroy 在接口中 javax.servlet.Servletdestroy 在类中 DaemonHttpServletprotected String getRegistryName()
protected int getRegistryPort()
protected void bind()
protected void unbind()
Copyright © 2022. All rights reserved.