Class Http2ClientProperties

java.lang.Object
pl.allegro.tech.hermes.consumers.config.Http2ClientProperties
All Implemented Interfaces:
Http2ClientParameters, HttpClientParameters

public class Http2ClientProperties extends Object implements Http2ClientParameters
  • Constructor Details

    • Http2ClientProperties

      public Http2ClientProperties()
  • Method Details

    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getThreadPoolSize

      public int getThreadPoolSize()
      Specified by:
      getThreadPoolSize in interface HttpClientParameters
    • setThreadPoolSize

      public void setThreadPoolSize(int threadPoolSize)
    • isThreadPoolMonitoringEnabled

      public boolean isThreadPoolMonitoringEnabled()
      Specified by:
      isThreadPoolMonitoringEnabled in interface HttpClientParameters
    • setThreadPoolMonitoringEnabled

      public void setThreadPoolMonitoringEnabled(boolean threadPoolMonitoringEnabled)
    • getIdleTimeout

      public Duration getIdleTimeout()
      Specified by:
      getIdleTimeout in interface HttpClientParameters
    • setIdleTimeout

      public void setIdleTimeout(Duration idleTimeout)
    • getMaxRequestsQueuedPerDestination

      public int getMaxRequestsQueuedPerDestination()
      Specified by:
      getMaxRequestsQueuedPerDestination in interface HttpClientParameters
    • setMaxRequestsQueuedPerDestination

      public void setMaxRequestsQueuedPerDestination(int maxRequestsQueuedPerDestination)
    • isFollowRedirectsEnabled

      public boolean isFollowRedirectsEnabled()
      Specified by:
      isFollowRedirectsEnabled in interface HttpClientParameters
    • setFollowRedirectsEnabled

      public void setFollowRedirectsEnabled(boolean followRedirectsEnabled)
    • getConnectionTimeout

      public Duration getConnectionTimeout()
      Specified by:
      getConnectionTimeout in interface HttpClientParameters
    • setConnectionTimeout

      public void setConnectionTimeout(Duration connectionTimeout)