|
spring-web | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.http.client.support.ProxyFactoryBean
public class ProxyFactoryBean
FactoryBean that creates a java.net.Proxy.
FactoryBean,
Proxy| Constructor Summary | |
|---|---|
ProxyFactoryBean()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
java.net.Proxy |
getObject()
|
java.lang.Class<?> |
getObjectType()
|
boolean |
isSingleton()
|
void |
setHostname(java.lang.String hostname)
Sets the proxy host name. |
void |
setPort(int port)
Sets the proxy port. |
void |
setType(java.net.Proxy.Type type)
Sets the proxy type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProxyFactoryBean()
| Method Detail |
|---|
public void setType(java.net.Proxy.Type type)
Proxy.Type#HTTP.
public void setHostname(java.lang.String hostname)
public void setPort(int port)
public void afterPropertiesSet()
throws java.lang.IllegalArgumentException
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.IllegalArgumentExceptionpublic java.net.Proxy getObject()
getObject in interface org.springframework.beans.factory.FactoryBean<java.net.Proxy>public java.lang.Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<java.net.Proxy>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<java.net.Proxy>
|
spring-web | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||