QuartzH2Client

io.quartz.QuartzH2Client$

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def buildSSLContext(protocol: String, JKSkeystore: String, password: String, blindTrust: Boolean): SSLContext

Builds an SSL context for use in an HTTP/2 client connection.

Builds an SSL context for use in an HTTP/2 client connection.

Attributes

JKSkeystore

The path to the JKS keystore file. If null, a default keystore will be used.

blindTrust

Whether to blindly trust all SSL/TLS certificates. Default is false.

password

The password to use for the keystore. Ignored if JKSkeystore is null.

protocol

The SSL/TLS protocol to use. E.g. "TLSv1.2".

Returns:

A new SSL context for use in an HTTP/2 client connection.

def connectTLS_alpn_h2(host: String, port: Int, socketGroup: AsynchronousChannelGroup, ctx: SSLContext): IO[TLSChannel]
def open(hostURI: String, timeOutMs: Int, ctx: SSLContext, incomingWindowSize: Int, socketGroup: AsynchronousChannelGroup): IO[Http2ClientConnection]

Opens an HTTP/2 client connection to the specified host URI using the provided SSL context.

Opens an HTTP/2 client connection to the specified host URI using the provided SSL context.

Attributes

ctx

The SSL context to use for the connection.

hostURI

The URI of the host to connect to.

incomingWindowSize

The size in bytes of the incoming flow control window.

timeOutMs

The timeout in milliseconds for the connection attempt.

Concrete fields

val TLS_PROTOCOL_TAG: String