HttpSyncClientAdapter
class HttpSyncClientAdapter[F[_], Req, Resp](asyncClient: HttpClient[F, Req, Resp]) extends HttpSyncClientAdapterBase[F, Req, Resp]
A synchronous HttpClient that awaits responses.
trait AutoCloseable
class Object
trait Matchable
class Any
Value members
Concrete methods
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)
- Throws:
- HttpClientException
for non-retryable error is happend
- HttpClientMaxRetryException
if max retry reaches
- Definition Classes
Inherited methods
override def delete[OperationResponse](resourcePath: String, requestFilter: Req => Req): OperationResponse
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase
override def deleteOps[Resource, OperationResponse](resourcePath: String, resource: Resource, requestFilter: Req => Req): OperationResponse
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase
override def getOps[Resource, OperationResponse](resourcePath: String, resource: Resource, requestFilter: Req => Req): OperationResponse
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase
def getResource[ResourceRequest, Resource](resourcePath: String, resourceRequest: ResourceRequest, requestFilter: Req => Req): Resource
- Inherited from:
- HttpSyncClientBase
override def list[OperationResponse](resourcePath: String, requestFilter: Req => Req): OperationResponse
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase
override def patch[Resource](resourcePath: String, resource: Resource, requestFilter: Req => Req): Resource
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase
override def patchOps[Resource, OperationResponse](resourcePath: String, resource: Resource, requestFilter: Req => Req): OperationResponse
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase
override def patchRaw[Resource](resourcePath: String, resource: Resource, requestFilter: Req => Req): Resp
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase
override def post[Resource](resourcePath: String, resource: Resource, requestFilter: Req => Req): Resource
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase
override def postOps[Resource, OperationResponse](resourcePath: String, resource: Resource, requestFilter: Req => Req): OperationResponse
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase
override def postRaw[Resource](resourcePath: String, resource: Resource, requestFilter: Req => Req): Resp
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase
override def put[Resource](resourcePath: String, resource: Resource, requestFilter: Req => Req): Resource
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase
override def putOps[Resource, OperationResponse](resourcePath: String, resource: Resource, requestFilter: Req => Req): OperationResponse
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase
override def putRaw[Resource](resourcePath: String, resource: Resource, requestFilter: Req => Req): Resp
- Definition Classes
- Inherited from:
- HttpSyncClientAdapterBase