public class DefaultHttpRequesterConfig extends AbstractAnnotatedObject implements HttpRequesterConfig, Initialisable, Stoppable, Startable, MuleContextAware
| Modifier and Type | Field and Description |
|---|---|
static String |
OBJECT_HTTP_CLIENT_FACTORY |
PROPERTY_NAMEPHASE_NAMEPHASE_NAMEPHASE_NAME| Constructor and Description |
|---|
DefaultHttpRequesterConfig() |
getAnnotation, getAnnotations, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotation, getAnnotations, setAnnotationspublic static final String OBJECT_HTTP_CLIENT_FACTORY
public void initialise()
throws InitialisationException
initialise in interface InitialisableInitialisationExceptionpublic void stop()
throws MuleException
stop in interface StoppableMuleExceptionpublic String getScheme()
public HttpClient getHttpClient()
public CookieManager getCookieManager()
public String getBasePath()
getBasePath in interface HttpRequesterConfigpublic void setBasePath(String basePath)
public String getName()
getName in interface NamedObjectpublic void setName(String name)
public String getHost()
getHost in interface HttpRequesterConfigpublic void setHost(String host)
public String getPort()
getPort in interface HttpRequesterConfigpublic void setPort(String port)
public HttpAuthentication getAuthentication()
getAuthentication in interface HttpRequesterConfigpublic void setAuthentication(HttpAuthentication authentication)
public TlsContextFactory getTlsContext()
getTlsContext in interface HttpRequesterConfigpublic void setTlsContext(TlsContextFactory tlsContext)
public RamlApiConfiguration getApiConfiguration()
public void setApiConfiguration(RamlApiConfiguration apiConfiguration)
public String getFollowRedirects()
getFollowRedirects in interface HttpRequesterConfigpublic void setFollowRedirects(String followRedirects)
public TcpClientSocketProperties getClientSocketProperties()
public void setClientSocketProperties(TcpClientSocketProperties clientSocketProperties)
public ProxyConfig getProxyConfig()
getProxyConfig in interface HttpRequesterConfigpublic void setProxyConfig(ProxyConfig proxyConfig)
public String getRequestStreamingMode()
getRequestStreamingMode in interface HttpRequesterConfigpublic void setRequestStreamingMode(String requestStreamingMode)
public String getSendBodyMode()
getSendBodyMode in interface HttpRequesterConfigpublic void setSendBodyMode(String sendBodyMode)
public String getParseResponse()
getParseResponse in interface HttpRequesterConfigpublic void setParseResponse(String parseResponse)
public String getResponseTimeout()
getResponseTimeout in interface HttpRequesterConfigpublic void setResponseTimeout(String responseTimeout)
public void start()
throws MuleException
start in interface StartableMuleExceptionpublic void setMaxConnections(int maxConnections)
public void setUsePersistentConnections(boolean usePersistentConnections)
public void setConnectionIdleTimeout(int connectionIdleTimeout)
public boolean isEnableCookies()
public void setEnableCookies(boolean enableCookies)
public void setMuleContext(MuleContext muleContext)
setMuleContext in interface MuleContextAwarepublic void setProtocol(HttpConstants.Protocols protocol)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.