org.mule.transport.http.construct
Class HttpProxy
java.lang.Object
org.mule.construct.AbstractFlowConstruct
org.mule.construct.AbstractPipeline
org.mule.construct.AbstractConfigurationPattern
org.mule.transport.http.construct.HttpProxy
- All Implemented Interfaces:
- AnnotatedObject, FlowConstruct, Pipeline, Disposable, Initialisable, Lifecycle, LifecycleStateEnabled, Startable, Stoppable, NamedObject
public class HttpProxy
- extends AbstractConfigurationPattern
A simple HTTP proxy that supports transformation and caching.
Methods inherited from class org.mule.construct.AbstractPipeline |
configurePostProcessors, createPipeline, doDispose, doInitialise, doStart, doStop, getMessageProcessors, getMessageSource, getProcessingStrategy, isRedeliveryPolicyConfigured, setMessageProcessors, setMessageSource |
Methods inherited from class org.mule.construct.AbstractFlowConstruct |
configureStatistics, dispose, disposeIfDisposable, getAnnotation, getAnnotations, getExceptionListener, getInitialState, getLifecycleState, getMessageInfoMapping, getMuleContext, getName, getStatistics, initialise, initialiseIfInitialisable, injectFlowConstructMuleContext, isStarted, isStopped, isStopping, setAnnotations, setExceptionListener, setInitialState, setMessageInfoMapping, start, startIfStartable, stop, stopIfStoppable |
HttpProxy
public HttpProxy(String name,
MuleContext muleContext,
MessageSource messageSource,
OutboundEndpoint outboundEndpoint,
List<MessageProcessor> transformers,
List<MessageProcessor> responseTransformers,
CachingStrategy cachingStrategy)
throws MuleException
- Throws:
MuleException
configureMessageProcessorsBeforeTransformation
protected void configureMessageProcessorsBeforeTransformation(MessageProcessorChainBuilder builder)
- Specified by:
configureMessageProcessorsBeforeTransformation
in class AbstractConfigurationPattern
configureMessageProcessorsAfterTransformation
protected void configureMessageProcessorsAfterTransformation(MessageProcessorChainBuilder builder)
throws MuleException
- Specified by:
configureMessageProcessorsAfterTransformation
in class AbstractConfigurationPattern
- Throws:
MuleException
configureContentLengthRemover
public static void configureContentLengthRemover(AbstractConfigurationPattern configurationPattern,
MessageProcessorChainBuilder builder)
validateConstruct
protected void validateConstruct()
throws FlowConstructInvalidException
- Description copied from class:
AbstractFlowConstruct
- Validates configured flow construct
- Overrides:
validateConstruct
in class AbstractPipeline
- Throws:
FlowConstructInvalidException
- if the flow construct does not pass
validation
toString
public String toString()
- Overrides:
toString
in class AbstractFlowConstruct
getConstructType
public String getConstructType()
- Specified by:
getConstructType
in class AbstractFlowConstruct
- Returns:
- the type of construct being created, e.g. "Flow"
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.