Class HttpClientConfiguration
java.lang.Object
com.predic8.membrane.core.transport.http.client.HttpClientConfiguration
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class HttpClientConfiguration
extends Object
implements org.springframework.context.ApplicationContextAware
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintgetProxy()inthashCode()booleanvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetAuthentication(AuthenticationConfiguration authentication) voidsetBaseLocation(String baseLocation) voidsetConnection(ConnectionConfiguration connection) voidsetMaxRetries(int maxRetries) voidsetProxy(ProxyConfiguration proxy) voidsetSslParser(SSLParser sslParser) voidsetUseExperimentalHttp2(boolean useExperimentalHttp2)
-
Constructor Details
-
HttpClientConfiguration
public HttpClientConfiguration()
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getConnection
-
setConnection
-
getProxy
-
setProxy
-
getAuthentication
-
setAuthentication
-
getMaxRetries
public int getMaxRetries() -
setMaxRetries
public void setMaxRetries(int maxRetries) - Default
- 5
- Description
- Determines how often Membrane tries to send a message to a target before it gives up and returns an error message to the client. All tries to all servers count together. For example if you have 2 targets, and a RoundRobin strategy, then the number 5 means it tries, in this order: one, two, one, two, one. NOTE: the word "retries" is used incorrectly throughout this project. The current meaning is "tries". The first attempt, which is semantically not a "re"-try, counts as one already.
-
getSslParser
-
setSslParser
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
getBaseLocation
-
setBaseLocation
-
isUseExperimentalHttp2
public boolean isUseExperimentalHttp2() -
setUseExperimentalHttp2
public void setUseExperimentalHttp2(boolean useExperimentalHttp2)
-