class HttpSyncClientAdapter[F[_], Req, Resp] extends HttpSyncClientAdapterBase[F, Req, Resp]
A synchronous HttpClient that awaits responses.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HttpSyncClientAdapter
- HttpSyncClientAdapterBase
- HttpSyncClient
- AutoCloseable
- HttpSyncClientBase
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new HttpSyncClientAdapter(asyncClient: HttpClient[F, Req, Resp])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
awaitF[A](f: F[A]): A
- Attributes
- protected
- Definition Classes
- HttpSyncClientAdapterBase
-
def
buildGETRequest(resourcePath: String, requestBody: JSONObject): Request
- Attributes
- protected
- Definition Classes
- HttpSyncClient
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
close(): Unit
- Definition Classes
- HttpSyncClientAdapter → AutoCloseable
-
def
convertAs[A](response: Response, surface: Surface): A
- Attributes
- protected
- Definition Classes
- HttpSyncClient
-
def
delete[OperationResponse](resourcePath: String, requestFilter: (Req) ⇒ Req = identity)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[OperationResponse]): OperationResponse
- Definition Classes
- HttpSyncClientAdapterBase → HttpSyncClientBase
-
def
deleteOps[Resource, OperationResponse](resourcePath: String, resource: Resource, requestFilter: (Req) ⇒ Req = identity)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[Resource], arg1: scala.reflect.api.JavaUniverse.TypeTag[OperationResponse]): OperationResponse
- Definition Classes
- HttpSyncClientAdapterBase → HttpSyncClientBase
-
def
deleteRaw(resourcePath: String, requestFilter: (Req) ⇒ Req = identity): Resp
- Definition Classes
- HttpSyncClientAdapterBase → HttpSyncClientBase
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
get[Resource](resourcePath: String, requestFilter: (Req) ⇒ Req = identity)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[Resource]): Resource
- Definition Classes
- HttpSyncClientAdapterBase → HttpSyncClientBase
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getOps[Resource, OperationResponse](resourcePath: String, resource: Resource, requestFilter: (Req) ⇒ Req)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[Resource], arg1: scala.reflect.api.JavaUniverse.TypeTag[OperationResponse]): OperationResponse
- Definition Classes
- HttpSyncClientAdapterBase → HttpSyncClientBase
-
def
getResource[ResourceRequest, Resource](resourcePath: String, resourceRequest: ResourceRequest, requestFilter: (Req) ⇒ Req = identity)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[ResourceRequest], arg1: scala.reflect.api.JavaUniverse.TypeTag[Resource]): Resource
- Definition Classes
- HttpSyncClientBase
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
list[OperationResponse](resourcePath: String, requestFilter: (Req) ⇒ Req = identity)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[OperationResponse]): OperationResponse
- Definition Classes
- HttpSyncClientAdapterBase → HttpSyncClientBase
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
patch[Resource](resourcePath: String, resource: Resource, requestFilter: (Req) ⇒ Req = identity)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[Resource]): Resource
- Definition Classes
- HttpSyncClientAdapterBase → HttpSyncClientBase
-
def
patchOps[Resource, OperationResponse](resourcePath: String, resource: Resource, requestFilter: (Req) ⇒ Req = identity)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[Resource], arg1: scala.reflect.api.JavaUniverse.TypeTag[OperationResponse]): OperationResponse
- Definition Classes
- HttpSyncClientAdapterBase → HttpSyncClientBase
-
def
patchRaw[Resource](resourcePath: String, resource: Resource, requestFilter: (Req) ⇒ Req = identity)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[Resource]): Resp
- Definition Classes
- HttpSyncClientAdapterBase → HttpSyncClientBase
-
def
post[Resource](resourcePath: String, resource: Resource, requestFilter: (Req) ⇒ Req = identity)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[Resource]): Resource
- Definition Classes
- HttpSyncClientAdapterBase → HttpSyncClientBase
-
def
postOps[Resource, OperationResponse](resourcePath: String, resource: Resource, requestFilter: (Req) ⇒ Req = identity)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[Resource], arg1: scala.reflect.api.JavaUniverse.TypeTag[OperationResponse]): OperationResponse
- Definition Classes
- HttpSyncClientAdapterBase → HttpSyncClientBase
-
def
postRaw[Resource](resourcePath: String, resource: Resource, requestFilter: (Req) ⇒ Req = identity)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[Resource]): Resp
- Definition Classes
- HttpSyncClientAdapterBase → HttpSyncClientBase
-
def
put[Resource](resourcePath: String, resource: Resource, requestFilter: (Req) ⇒ Req = identity)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[Resource]): Resource
- Definition Classes
- HttpSyncClientAdapterBase → HttpSyncClientBase
-
def
putOps[Resource, OperationResponse](resourcePath: String, resource: Resource, requestFilter: (Req) ⇒ Req = identity)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[Resource], arg1: scala.reflect.api.JavaUniverse.TypeTag[OperationResponse]): OperationResponse
- Definition Classes
- HttpSyncClientAdapterBase → HttpSyncClientBase
-
def
putRaw[Resource](resourcePath: String, resource: Resource, requestFilter: (Req) ⇒ Req = identity)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[Resource]): Resp
- Definition Classes
- HttpSyncClientAdapterBase → HttpSyncClientBase
-
def
send(req: Req, requestFilter: (Req) ⇒ Req = identity): Resp
Send an HTTP request and get the response.
Send an HTTP request and get the response. It will throw an exception for non successful responses (after reaching the max retry)
- Definition Classes
- HttpSyncClientAdapter → HttpSyncClient
- Exceptions thrown
HttpClientExceptionfor non-retryable error is happendHttpClientMaxRetryExceptionif max retry reaches
-
def
sendSafe(req: Req, requestFilter: (Req) ⇒ Req = identity): Resp
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)
- Definition Classes
- HttpSyncClientAdapter → HttpSyncClient
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated