wvlet.airframe.http.client

Members list

Type members

Classlikes

A standard async http client interface for Rx[_]

A standard async http client interface for Rx[_]

Attributes

Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type
class AsyncClientImpl(val channel: HttpChannel, val config: HttpClientConfig) extends AsyncClient

Attributes

Supertypes
trait AsyncClient
trait AutoCloseable
class Object
trait Matchable
class Any
Show all
trait HttpChannel extends AutoCloseable

A low-level interface for sending HTTP requests without managing retries nor filters. This interface abstracts away the backend implementation (e.g., Java Http client, Ajax client, OkHttp client, etc)

A low-level interface for sending HTTP requests without managing retries nor filters. This interface abstracts away the backend implementation (e.g., Java Http client, Ajax client, OkHttp client, etc)

Attributes

Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes

Contains only http channel related configurations in HttpClientConfig

Contains only http channel related configurations in HttpClientConfig

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class HttpClientConfig(name: String, backend: HttpClientBackend, requestFilter: Request => Request, rpcEncoding: RPCEncoding, retryContext: RetryContext, codecFactory: MessageCodecFactory, circuitBreaker: CircuitBreaker, connectTimeout: Duration, readTimeout: Duration, clientFilter: HttpClientFilter, httpLoggerConfig: HttpLoggerConfig, httpLoggerProvider: HttpLoggerConfig => HttpLogger, loggingFilter: HttpLogger => HttpClientFilter) extends HttpChannelConfig

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class HttpClientContext(clientName: String, rpcMethod: Option[RPCMethod], rpcInput: Option[Any])

Provide a request context

Provide a request context

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object empty.type

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
trait HttpClientFactory[ClientImpl]

Interface for customizing config for each requests

Interface for customizing config for each requests

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

A filter for intercepting HTTP requests by using

A filter for intercepting HTTP requests by using

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
class HttpClientLoggingFilter(httpLogger: HttpLogger) extends HttpClientFilter, AutoCloseable, LogSupport

A client-side filter for logging HTTP requests and responses

A client-side filter for logging HTTP requests and responses

Attributes

Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
trait AutoCloseable
class Object
trait Matchable
class Any
Show all
object HttpClients extends LogSupport

Attributes

Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
class JavaHttpClientChannel(serverAddress: ServerAddress, val config: HttpClientConfig) extends HttpChannel

Http connection implementation using Http Client of Java 11

Http connection implementation using Http Client of Java 11

Attributes

Supertypes
trait HttpChannel
trait AutoCloseable
class Object
trait Matchable
class Any
trait SyncClient extends SyncClientCompat, HttpClientFactory[SyncClient], AutoCloseable

A standard blocking http client interface

A standard blocking http client interface

Attributes

Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any
Show all
Known subtypes

Scala 3 specific helper method to make an RPC request

Scala 3 specific helper method to make an RPC request

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type
class SyncClientImpl(val channel: HttpChannel, val config: HttpClientConfig) extends SyncClient

Attributes

Supertypes
trait SyncClient
trait AutoCloseable
class Object
trait Matchable
class Any
Show all
class URLConnectionChannel(serverAddress: ServerAddress, config: HttpClientConfig) extends HttpChannel

Attributes

Supertypes
trait HttpChannel
trait AutoCloseable
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type