org.mule.transport.http
Class HttpClientMessageDispatcher
java.lang.Object
org.mule.transport.AbstractConnectable
org.mule.transport.AbstractMessageDispatcher
org.mule.transport.http.HttpClientMessageDispatcher
- All Implemented Interfaces:
- ExceptionListener, Disposable, Connectable, MessageDispatcher, MessageDispatching
public class HttpClientMessageDispatcher
- extends AbstractMessageDispatcher
HttpClientMessageDispatcher
dispatches Mule events over HTTP.
Methods inherited from class org.mule.transport.AbstractConnectable |
activate, connect, disconnect, dispose, disposeAndLogException, exceptionThrown, getConnectEventId, getConnectionDescription, getConnector, getEndpoint, isConnected, isDoThreading, passivate, reconnect, toString, validate |
ERROR_STATUS_CODE_RANGE_START
public static final int ERROR_STATUS_CODE_RANGE_START
- Range start for http error status codes.
- See Also:
- Constant Field Values
HttpClientMessageDispatcher
public HttpClientMessageDispatcher(OutboundEndpoint endpoint)
doConnect
protected void doConnect()
throws Exception
- Specified by:
doConnect
in class AbstractConnectable
- Throws:
Exception
doDisconnect
protected void doDisconnect()
throws Exception
- Specified by:
doDisconnect
in class AbstractConnectable
- Throws:
Exception
doDispatch
protected void doDispatch(MuleEvent event)
throws Exception
- Specified by:
doDispatch
in class AbstractMessageDispatcher
- Throws:
Exception
execute
protected HttpMethod execute(MuleEvent event,
HttpMethod httpMethod)
throws Exception
- Throws:
Exception
processCookies
protected void processCookies(MuleEvent event)
getMethod
protected HttpMethod getMethod(MuleEvent event)
throws TransformerException
- Throws:
TransformerException
setPropertyFromEndpoint
protected void setPropertyFromEndpoint(MuleEvent event,
MuleMessage msg,
String prop)
createEntityMethod
protected HttpMethod createEntityMethod(MuleEvent event,
Object body,
EntityEnclosingMethod postMethod)
throws TransformerException
- Throws:
TransformerException
doSend
protected MuleMessage doSend(MuleEvent event)
throws Exception
- Specified by:
doSend
in class AbstractMessageDispatcher
- Throws:
Exception
getHostConfig
protected HostConfiguration getHostConfig(URI uri)
throws URISyntaxException
- Throws:
URISyntaxException
doDispose
protected void doDispose()
- Specified by:
doDispose
in class AbstractConnectable
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.