org.mule.transport.servlet
Class AbstractReceiverServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.mule.transport.servlet.AbstractReceiverServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- Direct Known Subclasses:
- MuleReceiverServlet
public abstract class AbstractReceiverServlet
- extends javax.servlet.http.HttpServlet
A base servlet used to receive requests from a servlet container and route
them into Mule
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected transient Log logger
- logger used by this class
REQUEST_TIMEOUT_PROPERTY
public static final java.lang.String REQUEST_TIMEOUT_PROPERTY
- See Also:
- Constant Field Values
FEEDBACK_PROPERTY
public static final java.lang.String FEEDBACK_PROPERTY
- See Also:
- Constant Field Values
DEFAULT_CONTENT_TYPE_PROPERTY
public static final java.lang.String DEFAULT_CONTENT_TYPE_PROPERTY
- See Also:
- Constant Field Values
SERVLET_CONNECTOR_NAME_PROPERTY
@Deprecated
public static final java.lang.String SERVLET_CONNECTOR_NAME_PROPERTY
- Deprecated. Use
MuleServletContextListener.CONNECTOR_NAME
instead- The name of the servlet connector to use with this Servlet
- See Also:
- Constant Field Values
PAYLOAD_PARAMETER_NAME
public static final java.lang.String PAYLOAD_PARAMETER_NAME
- See Also:
- Constant Field Values
DEFAULT_PAYLOAD_PARAMETER_NAME
public static final java.lang.String DEFAULT_PAYLOAD_PARAMETER_NAME
- See Also:
- Constant Field Values
DEFAULT_GET_TIMEOUT
public static final long DEFAULT_GET_TIMEOUT
- See Also:
- Constant Field Values
payloadParameterName
protected java.lang.String payloadParameterName
timeout
protected long timeout
feedback
protected boolean feedback
defaultContentType
protected java.lang.String defaultContentType
muleContext
protected MuleContext muleContext
AbstractReceiverServlet
public AbstractReceiverServlet()
init
public final void init()
throws javax.servlet.ServletException
- Overrides:
init
in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
setupMuleContext
protected MuleContext setupMuleContext()
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
doInit
protected void doInit()
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
writeResponse
protected void writeResponse(javax.servlet.http.HttpServletResponse servletResponse,
MuleMessage message)
throws java.lang.Exception
- Throws:
java.lang.Exception
setHttpHeadersOnServletResponse
protected javax.servlet.http.HttpServletResponse setHttpHeadersOnServletResponse(HttpResponse httpResponse,
javax.servlet.http.HttpServletResponse servletResponse)
handleException
protected void handleException(java.lang.Throwable exception,
java.lang.String message,
javax.servlet.http.HttpServletResponse response)
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.