org.mule.providers.http.servlet
Class MuleReceiverServlet
java.lang.Object
HttpServlet
org.mule.providers.http.servlet.AbstractReceiverServlet
org.mule.providers.http.servlet.MuleReceiverServlet
- Direct Known Subclasses:
- JettyReceiverServlet, MuleRESTReceiverServlet
- public class MuleReceiverServlet
- extends AbstractReceiverServlet
Receives Http requests via a Servlet and routes the to listeners with servlet://
endpoints
There needs to be a ServletConnector configured on the Mule Server, this connector
must have the servletUrl property set that matches the Url for the container that this
Servlet is hosted in, i.e. something like http://192.168.10.21:8888
- See Also:
- Serialized Form
| Fields inherited from class org.mule.providers.http.servlet.AbstractReceiverServlet |
DEFAULT_CONTENT_TYPE_PROPERTY, DEFAULT_GET_TIMEOUT, DEFAULT_PAYLOAD_PARAMETER_NAME, defaultContentType, feedback, FEEDBACK_PROPERTY, logger, PAYLOAD_PARAMETER_NAME, payloadParameterName, REQUEST_TIMEOUT_PROPERTY, SERVLET_CONNECTOR_NAME_PROPERTY, timeout |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connector
protected ServletConnector connector
MuleReceiverServlet
public MuleReceiverServlet()
doInit
protected void doInit(ServletConfig servletConfig)
throws ServletException
- Overrides:
doInit in class AbstractReceiverServlet
- Throws:
ServletException
doGet
protected void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Throws:
ServletException
IOException
doPost
protected void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Throws:
ServletException
IOException
getReceiverForURI
protected AbstractMessageReceiver getReceiverForURI(HttpServletRequest httpServletRequest)
throws EndpointException
- Throws:
EndpointException
getRequestUrl
protected String getRequestUrl(HttpServletRequest httpServletRequest)
getReceiverName
protected String getReceiverName(HttpServletRequest httpServletRequest)
getReceivers
protected Map getReceivers()
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.