|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.oreilly.servlet.DaemonHttpServlet
com.oreilly.servlet.RemoteDaemonHttpServlet
public abstract class RemoteDaemonHttpServlet
A superclass for any HTTP servlet that wishes to act as an RMI server and, additionally, accept raw socket connections. Includes the functionality from both RemoteHttpServlet and DaemonHttpServlet, by extending DaemonHttpServlet and re-implementing RemoteHttpServlet.
RemoteHttpServlet,
DaemonHttpServlet,
序列化表格| 字段摘要 | |
|---|---|
protected Registry |
registry
The registry for the servlet |
| 从类 com.oreilly.servlet.DaemonHttpServlet 继承的字段 |
|---|
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. |
| 从类 com.oreilly.servlet.DaemonHttpServlet 继承的方法 |
|---|
getSocketPort, handleClient |
| 从类 javax.servlet.http.HttpServlet 继承的方法 |
|---|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service |
| 从类 javax.servlet.GenericServlet 继承的方法 |
|---|
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
protected Registry registry
| 构造方法详细信息 |
|---|
public RemoteDaemonHttpServlet()
| 方法详细信息 |
|---|
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
javax.servlet.Servlet 中的 initDaemonHttpServlet 中的 initconfig - the servlet config
javax.servlet.ServletException - if a servlet exception occurspublic void destroy()
javax.servlet.Servlet 中的 destroyDaemonHttpServlet 中的 destroyprotected String getRegistryName()
protected int getRegistryPort()
protected void bind()
protected void unbind()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||