当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 varia API Documentation 英文版文档
HTTPServerILServlet (Various API) - JBoss 4.0.1 sp1 varia API Documentation 英文版文档
org.jboss.mq.il.http.servlet
Class HTTPServerILServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.jboss.mq.il.http.servlet.HTTPServerILServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class HTTPServerILServlet
- extends javax.servlet.http.HttpServlet
This Servlet acts as a proxy to the JMS Server for the HTTP IL clients.
It receives posts from the HTTPServerIL in the form of HTTPILRequests,
invokes the approprate method on the server, and returns a HTTPILResponse.
This also acts as a delegate for the HTTPClientILService, by receiving
POSTS, looking in HTTPILStorageQueue, retrieving HTTPRequests bound for the
client, packaging them in a HTTPILResponse. These requests are generally
long lived to simulate asynch messaging. When the HTTPClientILService POSTS
a HTTPILRequest the payload of the request includes timeout value which represents
the max time the request will last, before returning to the client.
- Version:
- $Revision: 1.2 $
- Author:
- Nathan Phelps (nathan@jboss.org)
- See Also:
- Serialized Form
Method Summary |
void |
destroy()
|
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)
|
String |
getServletInfo()
|
void |
init(javax.servlet.ServletConfig config)
|
protected void |
processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTPServerILServlet
public HTTPServerILServlet()
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
destroy
public void destroy()
processRequest
protected void processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Throws:
javax.servlet.ServletException
IOException
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Throws:
javax.servlet.ServletException
IOException
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Throws:
javax.servlet.ServletException
IOException
getServletInfo
public String getServletInfo()
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.