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 Details

    • HttpClientConfiguration

      public HttpClientConfiguration()
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getConnection

      public ConnectionConfiguration getConnection()
    • setConnection

      public void setConnection(ConnectionConfiguration connection)
    • getProxy

      public ProxyConfiguration getProxy()
    • setProxy

      public void setProxy(ProxyConfiguration proxy)
    • getAuthentication

      public AuthenticationConfiguration getAuthentication()
    • setAuthentication

      public void setAuthentication(AuthenticationConfiguration authentication)
    • 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

      public SSLParser getSslParser()
    • setSslParser

      public void setSslParser(SSLParser sslParser)
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • getBaseLocation

      public String getBaseLocation()
    • setBaseLocation

      public void setBaseLocation(String baseLocation)
    • isUseExperimentalHttp2

      public boolean isUseExperimentalHttp2()
    • setUseExperimentalHttp2

      public void setUseExperimentalHttp2(boolean useExperimentalHttp2)