spring-framework / org.springframework.http.client.support / ProxyFactoryBean

ProxyFactoryBean

open class ProxyFactoryBean : FactoryBean<Proxy>, InitializingBean

FactoryBean that creates a Proxy.

Author
Arjen Poutsma

Since
3.0.4

See Also
FactoryBeanProxy

Constructors

<init>

ProxyFactoryBean()

FactoryBean that creates a Proxy.

Functions

afterPropertiesSet

open fun afterPropertiesSet(): Unit

getObject

open fun getObject(): Proxy

getObjectType

open fun getObjectType(): Class<*>

isSingleton

open fun isSingleton(): Boolean

setHostname

open fun setHostname(hostname: String): Unit

Set the proxy host name.

setPort

open fun setPort(port: Int): Unit

Set the proxy port.

setType

open fun setType(type: Type): Unit

Set the proxy type.

Defaults to java.net.Proxy.Type#HTTP.