public abstract class AbstractReceiverServlet
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_CONTENT_TYPE_PROPERTY |
static long |
DEFAULT_GET_TIMEOUT |
static String |
DEFAULT_PAYLOAD_PARAMETER_NAME |
protected String |
defaultContentType |
protected boolean |
feedback |
static String |
FEEDBACK_PROPERTY |
protected org.apache.commons.logging.Log |
logger
logger used by this class
|
protected org.mule.api.MuleContext |
muleContext |
static String |
PAYLOAD_PARAMETER_NAME |
protected String |
payloadParameterName |
static String |
REQUEST_TIMEOUT_PROPERTY |
static String |
SERVLET_CONNECTOR_NAME_PROPERTY
Deprecated.
Use
MuleServletContextListener.CONNECTOR_NAME instead |
protected long |
timeout |
| Constructor and Description |
|---|
AbstractReceiverServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doInit() |
protected void |
handleException(Throwable exception,
String message,
javax.servlet.http.HttpServletResponse response) |
void |
init() |
protected org.mule.api.MuleContext |
setupMuleContext() |
protected void |
setupResponseTransformer() |
protected void |
writeErrorResponseFromMessage(javax.servlet.http.HttpServletResponse servletResponse,
org.mule.api.MuleMessage message,
int errorCode,
String errorMessage) |
protected void |
writeResponse(javax.servlet.http.HttpServletResponse servletResponse,
org.mule.api.MuleMessage message) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceprotected transient org.apache.commons.logging.Log logger
public static final String REQUEST_TIMEOUT_PROPERTY
public static final String FEEDBACK_PROPERTY
public static final String DEFAULT_CONTENT_TYPE_PROPERTY
@Deprecated public static final String SERVLET_CONNECTOR_NAME_PROPERTY
MuleServletContextListener.CONNECTOR_NAME insteadpublic static final String PAYLOAD_PARAMETER_NAME
public static final String DEFAULT_PAYLOAD_PARAMETER_NAME
public static final long DEFAULT_GET_TIMEOUT
protected String payloadParameterName
protected long timeout
protected boolean feedback
protected String defaultContentType
protected org.mule.api.MuleContext muleContext
public final void init()
throws javax.servlet.ServletException
init in class javax.servlet.GenericServletjavax.servlet.ServletExceptionprotected org.mule.api.MuleContext setupMuleContext()
throws javax.servlet.ServletException
javax.servlet.ServletExceptionprotected void setupResponseTransformer()
throws javax.servlet.ServletException
javax.servlet.ServletExceptionprotected void doInit()
throws javax.servlet.ServletException
javax.servlet.ServletExceptionprotected void writeResponse(javax.servlet.http.HttpServletResponse servletResponse,
org.mule.api.MuleMessage message)
throws Exception
Exceptionprotected void handleException(Throwable exception, String message, javax.servlet.http.HttpServletResponse response)
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.