org.apache.synapse.transport.passthru.config
Class TargetConfiguration

java.lang.Object
  extended by org.apache.synapse.transport.passthru.config.BaseConfiguration
      extended by org.apache.synapse.transport.passthru.config.TargetConfiguration

public class TargetConfiguration
extends BaseConfiguration

This class stores configuration specific to HTTP Connectors (Senders)


Field Summary
 
Fields inherited from class org.apache.synapse.transport.passthru.config.BaseConfiguration
bufferFactory, conf, configurationContext, httpParams, ioReactorConfig, parameters
 
Constructor Summary
TargetConfiguration(org.apache.axis2.context.ConfigurationContext configurationContext, org.apache.axis2.description.ParameterInclude parameters, org.apache.axis2.transport.base.threads.WorkerPool pool, PassThroughTransportMetricsCollector metrics, ProxyAuthenticator proxyAuthenticator)
           
 
Method Summary
 void build()
           
 TargetConnections getConnections()
           
 org.apache.http.params.HttpParams getHttpParams()
           
 org.apache.http.protocol.HttpProcessor getHttpProcessor()
           
 org.apache.http.impl.nio.reactor.IOReactorConfig getIOReactorConfig()
           
 int getMaxConnections()
           
 ProxyAuthenticator getProxyAuthenticator()
           
 boolean isPreserveServerHeader()
           
 boolean isPreserveUserAgentHeader()
           
 void setConnections(TargetConnections connections)
           
 
Methods inherited from class org.apache.synapse.transport.passthru.config.BaseConfiguration
buildHttpParams, buildIOReactorConfig, getBufferFactory, getConfigurationContext, getIOBufferSize, getMetrics, getWorkerPool
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TargetConfiguration

public TargetConfiguration(org.apache.axis2.context.ConfigurationContext configurationContext,
                           org.apache.axis2.description.ParameterInclude parameters,
                           org.apache.axis2.transport.base.threads.WorkerPool pool,
                           PassThroughTransportMetricsCollector metrics,
                           ProxyAuthenticator proxyAuthenticator)
Method Detail

build

public void build()
           throws org.apache.axis2.AxisFault
Overrides:
build in class BaseConfiguration
Throws:
org.apache.axis2.AxisFault

getHttpParams

public org.apache.http.params.HttpParams getHttpParams()

getIOReactorConfig

public org.apache.http.impl.nio.reactor.IOReactorConfig getIOReactorConfig()

getHttpProcessor

public org.apache.http.protocol.HttpProcessor getHttpProcessor()

getProxyAuthenticator

public ProxyAuthenticator getProxyAuthenticator()

getMaxConnections

public int getMaxConnections()

isPreserveUserAgentHeader

public boolean isPreserveUserAgentHeader()

isPreserveServerHeader

public boolean isPreserveServerHeader()

getConnections

public TargetConnections getConnections()

setConnections

public void setConnections(TargetConnections connections)


Copyright © 2005–2015 Apache Software Foundation. All rights reserved.