trait Http2ClientSettings extends javadsl.settings.Http2ClientSettings with Http2CommonSettings
- Self Type
- Http2ClientSettingsImpl
- Annotations
- @ApiMayChange() @DoNotInherit()
- Source
- Http2ServerSettings.scala
- Alphabetic
- By Inheritance
- Http2ClientSettings
- Http2CommonSettings
- Http2ClientSettings
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def baseConnectionBackoff: FiniteDuration
- abstract def completionTimeout: FiniteDuration
- abstract def incomingConnectionLevelBufferSize: Int
- Definition Classes
- Http2ClientSettings → Http2CommonSettings → Http2ClientSettings
- abstract def incomingStreamLevelBufferSize: Int
- Definition Classes
- Http2ClientSettings → Http2CommonSettings → Http2ClientSettings
- abstract def logFrames: Boolean
- Definition Classes
- Http2ClientSettings → Http2CommonSettings → Http2ClientSettings
- abstract def maxConcurrentStreams: Int
- Definition Classes
- Http2ClientSettings → Http2CommonSettings → Http2ClientSettings
- abstract def maxConnectionBackoff: FiniteDuration
- abstract def maxFrameSize: Int
The largest frame payload this endpoint accepts, in bytes.
The largest frame payload this endpoint accepts, in bytes. A larger incoming frame is rejected with a FRAME_SIZE_ERROR on its frame header, before the payload is buffered. No larger SETTINGS_MAX_FRAME_SIZE is advertised, so a peer that follows the spec keeps to the 16 KiB default and the extra room is leniency for peers that do not. RFC 9113, section 4.2 constrains it to be between 16 KiB and 16 MiB - 1.
- Definition Classes
- Http2ClientSettings → Http2CommonSettings → Http2ClientSettings
- Since
2.0.0
- abstract def maxHeaderListSize: Int
The maximum size of a decoded header list that this endpoint is prepared to accept, in bytes.
The maximum size of a decoded header list that this endpoint is prepared to accept, in bytes. The value is advertised to the peer via SETTINGS_MAX_HEADER_LIST_SIZE and the same limit is applied to the accumulated header block fragments of a HEADERS frame and its CONTINUATION frames.
- Definition Classes
- Http2ClientSettings → Http2CommonSettings → Http2ClientSettings
- Since
1.4.1
- abstract def maxPersistentAttempts: Int
- abstract def outgoingControlFrameBufferSize: Int
- Definition Classes
- Http2ClientSettings → Http2CommonSettings → Http2ClientSettings
- abstract def persistentConnectionMaxAge: Duration
The maximum age of a connection created by
managedPersistentHttp2ormanagedPersistentHttp2WithPriorKnowledge.The maximum age of a connection created by
managedPersistentHttp2ormanagedPersistentHttp2WithPriorKnowledge. When the age of a connection exceeds this value, the connection stops accepting new requests, lets requests that are already in flight complete within completionTimeout, and is then closed. Later requests are sent on a new connection. The valueDuration.Infdisables this mechanism and is the default.- Since
2.0.0
- abstract def persistentConnectionMaxAgeJitter: Double
The jitter applied to persistentConnectionMaxAge per connection, as a fraction of the configured age: with the default of 0.1 each connection is retired after between 90% and 110% of the configured age, so that connections that were opened together are not all retired at the same time.
The jitter applied to persistentConnectionMaxAge per connection, as a fraction of the configured age: with the default of 0.1 each connection is retired after between 90% and 110% of the configured age, so that connections that were opened together are not all retired at the same time. 0 disables jitter.
- Since
2.0.0
- abstract def pingInterval: FiniteDuration
- Definition Classes
- Http2ClientSettings → Http2CommonSettings
- abstract def pingTimeout: FiniteDuration
- Definition Classes
- Http2ClientSettings → Http2CommonSettings
- abstract def requestEntityChunkSize: Int
- Definition Classes
- Http2ClientSettings → Http2CommonSettings → Http2ClientSettings
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from Http2ClientSettings toany2stringadd[Http2ClientSettings] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (Http2ClientSettings, B)
- Implicit
- This member is added by an implicit conversion from Http2ClientSettings toArrowAssoc[Http2ClientSettings] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def ensuring(cond: (Http2ClientSettings) => Boolean, msg: => Any): Http2ClientSettings
- Implicit
- This member is added by an implicit conversion from Http2ClientSettings toEnsuring[Http2ClientSettings] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (Http2ClientSettings) => Boolean): Http2ClientSettings
- Implicit
- This member is added by an implicit conversion from Http2ClientSettings toEnsuring[Http2ClientSettings] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): Http2ClientSettings
- Implicit
- This member is added by an implicit conversion from Http2ClientSettings toEnsuring[Http2ClientSettings] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): Http2ClientSettings
- Implicit
- This member is added by an implicit conversion from Http2ClientSettings toEnsuring[Http2ClientSettings] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def getBaseConnectionBackoff: Duration
- Definition Classes
- Http2ClientSettings
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getCompletionTimeout: Duration
- Definition Classes
- Http2ClientSettings
- def getMaxConnectionBackoff: Duration
- Definition Classes
- Http2ClientSettings
- def getMaxPersistentAttempts: Int
- Definition Classes
- Http2ClientSettings
- def getPersistentConnectionMaxAge: Duration
The maximum age of a connection created by
managedPersistentHttp2ormanagedPersistentHttp2WithPriorKnowledge.The maximum age of a connection created by
managedPersistentHttp2ormanagedPersistentHttp2WithPriorKnowledge. When the age of a connection exceeds this value, the connection stops accepting new requests, lets requests that are already in flight complete within getCompletionTimeout, and is then closed. Later requests are sent on a new connection. The valueChronoUnit.FOREVER.getDurationrepresents an infinite age, which disables this mechanism and is the default.- Definition Classes
- Http2ClientSettings
- Since
2.0.0
- def getPersistentConnectionMaxAgeJitter: Double
The jitter applied to the persistent connection maximum age per connection, as a fraction of the configured age: with the default of 0.1 each connection is retired after between 90% and 110% of the configured age, so that connections that were opened together are not all retired at the same time.
The jitter applied to the persistent connection maximum age per connection, as a fraction of the configured age: with the default of 0.1 each connection is retired after between 90% and 110% of the configured age, so that connections that were opened together are not all retired at the same time. 0 disables jitter.
- Definition Classes
- Http2ClientSettings
- Since
2.0.0
- def getPingInterval: Duration
- Definition Classes
- Http2ClientSettings
- def getPingTimeout: Duration
- Definition Classes
- Http2ClientSettings
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def minCollectStrictEntitySize: Int
- Definition Classes
- Http2ClientSettings → Http2CommonSettings
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withBaseConnectionBackoff(backoff: FiniteDuration): Http2ClientSettings
- def withBaseConnectionBackoff(backoff: Duration): javadsl.settings.Http2ClientSettings
- Definition Classes
- Http2ClientSettings
- def withCompletionTimeout(timeout: FiniteDuration): Http2ClientSettings
- def withCompletionTimeout(timeout: Duration): javadsl.settings.Http2ClientSettings
- Definition Classes
- Http2ClientSettings
- def withIncomingConnectionLevelBufferSize(newValue: Int): Http2ClientSettings
- Definition Classes
- Http2ClientSettings → Http2ClientSettings
- def withIncomingStreamLevelBufferSize(newValue: Int): Http2ClientSettings
- Definition Classes
- Http2ClientSettings → Http2ClientSettings
- def withLogFrames(shouldLog: Boolean): Http2ClientSettings
- Definition Classes
- Http2ClientSettings → Http2ClientSettings
- def withMaxConcurrentStreams(newValue: Int): Http2ClientSettings
- Definition Classes
- Http2ClientSettings → Http2ClientSettings
- def withMaxConnectionBackoff(backoff: FiniteDuration): Http2ClientSettings
- def withMaxConnectionBackoff(backoff: Duration): javadsl.settings.Http2ClientSettings
- Definition Classes
- Http2ClientSettings
- def withMaxFrameSize(newValue: Int): Http2ClientSettings
- Definition Classes
- Http2ClientSettings → Http2ClientSettings
- Since
2.0.0
- def withMaxHeaderListSize(newValue: Int): Http2ClientSettings
- Definition Classes
- Http2ClientSettings → Http2ClientSettings
- Since
1.4.1
- def withMaxPersistentAttempts(max: Int): Http2ClientSettings
- Definition Classes
- Http2ClientSettings → Http2ClientSettings
- def withOutgoingControlFrameBufferSize(newValue: Int): Http2ClientSettings
- Definition Classes
- Http2ClientSettings → Http2ClientSettings
- def withPersistentConnectionMaxAge(maxAge: Duration): Http2ClientSettings
- Since
2.0.0
- def withPersistentConnectionMaxAge(maxAge: Duration): javadsl.settings.Http2ClientSettings
Pass
ChronoUnit.FOREVER.getDurationto disable the maximum connection age.Pass
ChronoUnit.FOREVER.getDurationto disable the maximum connection age.- Definition Classes
- Http2ClientSettings
- Since
2.0.0
- def withPersistentConnectionMaxAgeJitter(jitter: Double): Http2ClientSettings
- Definition Classes
- Http2ClientSettings → Http2ClientSettings
- Since
2.0.0
- def withPingInterval(time: FiniteDuration): Http2ClientSettings
- def withPingInterval(interval: Duration): javadsl.settings.Http2ClientSettings
- Definition Classes
- Http2ClientSettings
- def withPingTimeout(timeout: FiniteDuration): Http2ClientSettings
- def withPingTimeout(timeout: Duration): javadsl.settings.Http2ClientSettings
- Definition Classes
- Http2ClientSettings
- def withRequestEntityChunkSize(newValue: Int): Http2ClientSettings
- Definition Classes
- Http2ClientSettings → Http2ClientSettings
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Http2ClientSettings toStringFormat[Http2ClientSettings] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)instead ofvalue.formatted(formatString), or use thef""string interpolator. In Java 15 and later,formattedresolves to the new method in String which has reversed parameters.
- def →[B](y: B): (Http2ClientSettings, B)
- Implicit
- This member is added by an implicit conversion from Http2ClientSettings toArrowAssoc[Http2ClientSettings] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.