HttpSyncClientAdapter
wvlet.airframe.http.HttpSyncClientAdapter
class HttpSyncClientAdapter[F[_], Req, Resp](asyncClient: HttpClient[F, Req, Resp]) extends HttpSyncClientAdapterBase[F, Req, Resp]
A synchronous HttpClient that awaits responses.
Attributes
- Graph
- Supertypes
- trait AutoCloseableclass Objecttrait Matchableclass Any
Members list
Concise view
Value members
Concrete methods
Attributes
- Definition Classes
- AutoCloseable
Send an HTTP request and get the response. It will throw an exception for non successful responses (after reaching the max retry)
Send an HTTP request and get the response. It will throw an exception for non successful responses (after reaching the max retry)
Attributes
- Throws:
- HttpClientException
for non-retryable error is happend
HttpClientMaxRetryExceptionif max retry reaches
- Definition Classes
Send an HTTP request and returns a response (or the last response if the request is retried)
Send an HTTP request and returns a response (or the last response if the request is retried)
Attributes
- Definition Classes
Inherited methods
Attributes
- Inherited from:
- HttpSyncClientAdapterBase
Attributes
- Inherited from:
- HttpSyncClient
Attributes
- Inherited from:
- HttpSyncClient
override def delete[OperationResponse](resourcePath: String, requestFilter: Req => Req): OperationResponse
Attributes
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase
override def deleteOps[Resource, OperationResponse](resourcePath: String, resource: Resource, requestFilter: Req => Req): OperationResponse
Attributes
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase
Attributes
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase
Attributes
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase
override def getOps[Resource, OperationResponse](resourcePath: String, resource: Resource, requestFilter: Req => Req): OperationResponse
Attributes
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase
def getResource[ResourceRequest, Resource](resourcePath: String, resourceRequest: ResourceRequest, requestFilter: Req => Req): Resource
Attributes
- Inherited from:
- HttpSyncClientBase
override def list[OperationResponse](resourcePath: String, requestFilter: Req => Req): OperationResponse
Attributes
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase
override def patch[Resource](resourcePath: String, resource: Resource, requestFilter: Req => Req): Resource
Attributes
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase
override def patchOps[Resource, OperationResponse](resourcePath: String, resource: Resource, requestFilter: Req => Req): OperationResponse
Attributes
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase
override def patchRaw[Resource](resourcePath: String, resource: Resource, requestFilter: Req => Req): Resp
Attributes
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase
override def post[Resource](resourcePath: String, resource: Resource, requestFilter: Req => Req): Resource
Attributes
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase
override def postOps[Resource, OperationResponse](resourcePath: String, resource: Resource, requestFilter: Req => Req): OperationResponse
Attributes
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase
override def postRaw[Resource](resourcePath: String, resource: Resource, requestFilter: Req => Req): Resp
Attributes
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase
override def put[Resource](resourcePath: String, resource: Resource, requestFilter: Req => Req): Resource
Attributes
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase
override def putOps[Resource, OperationResponse](resourcePath: String, resource: Resource, requestFilter: Req => Req): OperationResponse
Attributes
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase
override def putRaw[Resource](resourcePath: String, resource: Resource, requestFilter: Req => Req): Resp
Attributes
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase