public class HttpConnectorMessageProcessorProvider extends Object implements ConnectorOperationProvider, MuleContextAware, Disposable
PHASE_NAME
Constructor and Description |
---|
HttpConnectorMessageProcessorProvider() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
A lifecycle method where implementor should free up any resources.
|
MessageProcessor |
getMessageProcessor(String url,
OperationOptions operationOptions,
MessageExchangePattern exchangePattern)
A
MessageProcessor that contains the behaviour for the URL |
void |
setMuleContext(MuleContext context) |
boolean |
supportsUrl(String url) |
public HttpConnectorMessageProcessorProvider()
public boolean supportsUrl(String url)
supportsUrl
in interface ConnectorOperationProvider
url
- an URL for creating an operationpublic MessageProcessor getMessageProcessor(String url, OperationOptions operationOptions, MessageExchangePattern exchangePattern) throws MuleException
ConnectorOperationProvider
MessageProcessor
that contains the behaviour for the URLgetMessageProcessor
in interface ConnectorOperationProvider
url
- an URL for creating an operationoperationOptions
- the operation optionsexchangePattern
- exchange pattern to use to execute the request.MessageProcessor
that fulfills the operationMuleException
public void setMuleContext(MuleContext context)
setMuleContext
in interface MuleContextAware
public void dispose()
Disposable
dispose
in interface Disposable
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.