trait Http2ClientSettings extends AnyRef
- Self Type
- Http2ClientSettingsImpl
- Source
- Http2ClientSettings.scala
- Alphabetic
- By Inheritance
- Http2ClientSettings
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def incomingConnectionLevelBufferSize: Int
- abstract def incomingStreamLevelBufferSize: Int
- abstract def logFrames: Boolean
- abstract def maxConcurrentStreams: Int
- 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.
- 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.
- Since
1.4.1
- abstract def outgoingControlFrameBufferSize: Int
- abstract def requestEntityChunkSize: Int
- abstract def withPersistentConnectionMaxAgeJitter(jitter: Double): Http2ClientSettings
- Since
2.0.0
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
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getCompletionTimeout: Duration
- def getMaxConnectionBackoff: Duration
- def getMaxPersistentAttempts: Int
- 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.- 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.
- Since
2.0.0
- def getPingInterval: Duration
- def getPingTimeout: Duration
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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: Duration): Http2ClientSettings
- def withCompletionTimeout(timeout: Duration): Http2ClientSettings
- def withIncomingConnectionLevelBufferSize(newValue: Int): Http2ClientSettings
- def withIncomingStreamLevelBufferSize(newValue: Int): Http2ClientSettings
- def withLogFrames(shouldLog: Boolean): Http2ClientSettings
- def withMaxConcurrentStreams(newValue: Int): Http2ClientSettings
- def withMaxConnectionBackoff(backoff: Duration): Http2ClientSettings
- def withMaxFrameSize(newValue: Int): Http2ClientSettings
- Since
2.0.0
- def withMaxHeaderListSize(newValue: Int): Http2ClientSettings
- Since
1.4.1
- def withMaxPersistentAttempts(max: Int): Http2ClientSettings
- def withOutgoingControlFrameBufferSize(newValue: Int): Http2ClientSettings
- def withPersistentConnectionMaxAge(maxAge: Duration): Http2ClientSettings
Pass
ChronoUnit.FOREVER.getDurationto disable the maximum connection age.Pass
ChronoUnit.FOREVER.getDurationto disable the maximum connection age.- Since
2.0.0
- def withPingInterval(interval: Duration): Http2ClientSettings
- def withPingTimeout(timeout: Duration): Http2ClientSettings
- def withRequestEntityChunkSize(newValue: Int): 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.