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 LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializabletrait AutoCloseabletrait HttpClientFactory[AsyncClient]trait AsyncClientCompatclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class AsyncClientImpl
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait AsyncClientclass AsyncClientImpl
- Self type
Attributes
- Supertypes
-
trait AsyncClienttrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializabletrait AutoCloseabletrait HttpClientFactory[AsyncClient]trait AsyncClientCompatclass Objecttrait Matchableclass AnyShow all
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 AutoCloseableclass Objecttrait Matchableclass Any
- Known subtypes
-
class JavaHttpClientChannelclass URLConnectionChannel
Contains only http channel related configurations in HttpClientConfig
Contains only http channel related configurations in HttpClientConfig
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class HttpClientConfig
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object JavaHttpClientBackend.typeobject URLConnectionClientBackend.type
A common immutable configuration for all HTTP clients in airframe-http. To modify any configuration, use withXXX methods.
A common immutable configuration for all HTTP clients in airframe-http. To modify any configuration, use withXXX methods.
The generated HTTP client has multiple layers of filters:
- requestFilter: A filter to modify the request before sending it to the backend. This can be used for adding common HTTP headers (e.g., User-Agent, Authentication header, etc.)
- clientFilter: A filter to modify the request/response.
- loggingFilter: A filter to log individual requests and responses, including retried requests. The default behavior is logging each request with its response stats to log/http_client.json file.
- responseFilter: A filter to modify the response before returning it to the caller.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait HttpChannelConfigclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
HttpClientContext.type
Interface for customizing config for each requests
Interface for customizing config for each requests
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
A filter for intercepting HTTP requests using the information of HttpClientContext. If HttpClientContext is not required, use RxHttpFilter instead.
A filter for intercepting HTTP requests using the information of HttpClientContext. If HttpClientContext is not required, use RxHttpFilter instead.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class HttpClientLoggingFilter
- Self type
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
HttpClientFilter.type
A client-side filter for logging HTTP requests and responses
A client-side filter for logging HTTP requests and responses
Attributes
- Supertypes
-
trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializabletrait AutoCloseabletrait HttpClientFilterclass Objecttrait Matchableclass AnyShow all
Implements a common logic for HTTP clients, such as retry patterns, error handling, RPC response handling, etc.
Implements a common logic for HTTP clients, such as retry patterns, error handling, RPC response handling, etc.
Attributes
- Supertypes
-
trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
HttpClients.type
Attributes
- Supertypes
- Self type
Http connection implementation using Http Client of Java 11
Http connection implementation using Http Client of Java 11
Attributes
- Supertypes
A standard blocking http client interface
A standard blocking http client interface
Attributes
- Supertypes
-
trait AutoCloseabletrait HttpClientFactory[SyncClient]trait SyncClientCompatclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class SyncClientImpl
Scala 3 specific helper method to make an RPC request
Scala 3 specific helper method to make an RPC request
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait SyncClientclass SyncClientImpl
- Self type
Attributes
- Supertypes
-
trait SyncClienttrait AutoCloseabletrait HttpClientFactory[SyncClient]trait SyncClientCompatclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
Attributes
- Supertypes
- Self type