|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
flex.messaging.MessageBrokerServlet
public class MessageBrokerServlet
The MessageBrokerServlet bootstraps the MessageBroker, adds endpoints to it, and starts the broker. The servlet also acts as a facade for all http-based endpoints, in that the servlet receives the http request and then delegates to an endpoint that can handle the request's content type. This does not occur for non-http endpoints, such as the rtmp endpoint.
MessageBroker,
Serialized Form| Field Summary | |
|---|---|
static String |
LOG_CATEGORY_STARTUP_BROKER
|
| Constructor Summary | |
|---|---|
MessageBrokerServlet()
|
|
| Method Summary | |
|---|---|
void |
destroy()
Stops all endpoints in the MessageBroker, giving them a chance to perform any endpoint-specific clean up. |
void |
init(javax.servlet.ServletConfig servletConfig)
Initializes the servlet in its web container, then creates the MessageBroker and adds Endpoints and Services to that broker. |
void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Handle an incoming request, and delegate to an endpoint based on content type, if appropriate. |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String LOG_CATEGORY_STARTUP_BROKER
| Constructor Detail |
|---|
public MessageBrokerServlet()
| Method Detail |
|---|
public void init(javax.servlet.ServletConfig servletConfig)
throws javax.servlet.ServletException,
javax.servlet.UnavailableException
service method.
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletException
javax.servlet.UnavailableExceptionpublic void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServlet
public void service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
service in class javax.servlet.http.HttpServlet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/MessageBrokerServlet.html