HttpSyncClient

wvlet.airframe.http.HttpSyncClient
trait HttpSyncClient[Req, Resp] extends HttpSyncClientBase[Req, Resp] with AutoCloseable

A synchronous HTTP Client interface

Attributes

Graph
Supertypes
trait AutoCloseable
trait HttpSyncClientBase[Req, Resp]
class Object
trait Matchable
class Any
Known subtypes
class HttpSyncClientAdapterBase[F, Req, Resp]
class HttpSyncClientAdapter[F, Req, Resp]

Members list

Concise view

Value members

Abstract methods

def send(req: Req, requestFilter: Req => Req): Resp
def sendSafe(req: Req, requestFilter: Req => Req): Resp

Concrete methods

protected def buildGETRequest(resourcePath: String, requestBody: JSONObject): Request
protected def convertAs[A](response: Response, surface: Surface): A

Inherited methods

def close(): Unit

Attributes

Inherited from:
AutoCloseable
def delete[OperationResponse](resourcePath: String, requestFilter: Req => Req): OperationResponse

Attributes

Inherited from:
HttpSyncClientBase
def deleteOps[Resource, OperationResponse](resourcePath: String, resource: Resource, requestFilter: Req => Req): OperationResponse

Attributes

Inherited from:
HttpSyncClientBase
def deleteRaw(resourcePath: String, requestFilter: Req => Req): Resp

Attributes

Inherited from:
HttpSyncClientBase
def get[Resource](resourcePath: String, requestFilter: Req => Req): Resource

Attributes

Inherited from:
HttpSyncClientBase
def getOps[Resource, OperationResponse](resourcePath: String, resource: Resource, requestFilter: Req => Req): OperationResponse

Attributes

Inherited from:
HttpSyncClientBase
def getResource[ResourceRequest, Resource](resourcePath: String, resourceRequest: ResourceRequest, requestFilter: Req => Req): Resource

Attributes

Inherited from:
HttpSyncClientBase
def list[OperationResponse](resourcePath: String, requestFilter: Req => Req): OperationResponse

Attributes

Inherited from:
HttpSyncClientBase
def patch[Resource](resourcePath: String, resource: Resource, requestFilter: Req => Req): Resource

Attributes

Inherited from:
HttpSyncClientBase
def patchOps[Resource, OperationResponse](resourcePath: String, resource: Resource, requestFilter: Req => Req): OperationResponse

Attributes

Inherited from:
HttpSyncClientBase
def patchRaw[Resource](resourcePath: String, resource: Resource, requestFilter: Req => Req): Resp

Attributes

Inherited from:
HttpSyncClientBase
def post[Resource](resourcePath: String, resource: Resource, requestFilter: Req => Req): Resource

Attributes

Inherited from:
HttpSyncClientBase
def postOps[Resource, OperationResponse](resourcePath: String, resource: Resource, requestFilter: Req => Req): OperationResponse

Attributes

Inherited from:
HttpSyncClientBase
def postRaw[Resource](resourcePath: String, resource: Resource, requestFilter: Req => Req): Resp

Attributes

Inherited from:
HttpSyncClientBase
def put[Resource](resourcePath: String, resource: Resource, requestFilter: Req => Req): Resource

Attributes

Inherited from:
HttpSyncClientBase
def putOps[Resource, OperationResponse](resourcePath: String, resource: Resource, requestFilter: Req => Req): OperationResponse

Attributes

Inherited from:
HttpSyncClientBase
def putRaw[Resource](resourcePath: String, resource: Resource, requestFilter: Req => Req): Resp

Attributes

Inherited from:
HttpSyncClientBase