Class

wvlet.airframe.http

HttpSyncClientAdapter

Related Doc: package http

Permalink

class HttpSyncClientAdapter[F[_], Req, Resp] extends HttpSyncClient[Req, Resp]

A synchronous HttpClient that awaits responses.

Linear Supertypes
HttpSyncClient[Req, Resp], AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpSyncClientAdapter
  2. HttpSyncClient
  3. AutoCloseable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HttpSyncClientAdapter(asyncClient: HttpClient[F, Req, Resp])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def awaitF[A](f: F[A]): A

    Permalink
    Attributes
    protected
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  7. def close(): Unit

    Permalink
    Definition Classes
    HttpSyncClientAdapter → AutoCloseable
  8. def delete[OperationResponse](resourcePath: String, requestFilter: (Req) ⇒ Req = identity)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[OperationResponse]): OperationResponse

    Permalink
    Definition Classes
    HttpSyncClientAdapterHttpSyncClient
  9. 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

    Permalink
    Definition Classes
    HttpSyncClientAdapterHttpSyncClient
  10. def deleteRaw(resourcePath: String, requestFilter: (Req) ⇒ Req = identity): Resp

    Permalink
    Definition Classes
    HttpSyncClientAdapterHttpSyncClient
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def get[Resource](resourcePath: String, requestFilter: (Req) ⇒ Req = identity)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[Resource]): Resource

    Permalink
    Definition Classes
    HttpSyncClientAdapterHttpSyncClient
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  15. 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

    Permalink
    Definition Classes
    HttpSyncClientAdapterHttpSyncClient
  16. 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

    Permalink
    Definition Classes
    HttpSyncClient
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def list[OperationResponse](resourcePath: String, requestFilter: (Req) ⇒ Req = identity)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[OperationResponse]): OperationResponse

    Permalink
    Definition Classes
    HttpSyncClientAdapterHttpSyncClient
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  23. def patch[Resource](resourcePath: String, resource: Resource, requestFilter: (Req) ⇒ Req = identity)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[Resource]): Resource

    Permalink
    Definition Classes
    HttpSyncClientAdapterHttpSyncClient
  24. 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

    Permalink
    Definition Classes
    HttpSyncClientAdapterHttpSyncClient
  25. def patchRaw[Resource](resourcePath: String, resource: Resource, requestFilter: (Req) ⇒ Req = identity)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[Resource]): Resp

    Permalink
    Definition Classes
    HttpSyncClientAdapterHttpSyncClient
  26. def post[Resource](resourcePath: String, resource: Resource, requestFilter: (Req) ⇒ Req = identity)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[Resource]): Resource

    Permalink
    Definition Classes
    HttpSyncClientAdapterHttpSyncClient
  27. 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

    Permalink
    Definition Classes
    HttpSyncClientAdapterHttpSyncClient
  28. def postRaw[Resource](resourcePath: String, resource: Resource, requestFilter: (Req) ⇒ Req = identity)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[Resource]): Resp

    Permalink
    Definition Classes
    HttpSyncClientAdapterHttpSyncClient
  29. def put[Resource](resourcePath: String, resource: Resource, requestFilter: (Req) ⇒ Req = identity)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[Resource]): Resource

    Permalink
    Definition Classes
    HttpSyncClientAdapterHttpSyncClient
  30. 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

    Permalink
    Definition Classes
    HttpSyncClientAdapterHttpSyncClient
  31. def putRaw[Resource](resourcePath: String, resource: Resource, requestFilter: (Req) ⇒ Req = identity)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[Resource]): Resp

    Permalink
    Definition Classes
    HttpSyncClientAdapterHttpSyncClient
  32. def send(req: Req, requestFilter: (Req) ⇒ Req = identity): Resp

    Permalink

    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
    HttpSyncClientAdapterHttpSyncClient
    Exceptions thrown

    HttpClientException for non-retryable error is happend

    HttpClientMaxRetryException if max retry reaches

  33. def sendSafe(req: Req, requestFilter: (Req) ⇒ Req = identity): Resp

    Permalink

    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
    HttpSyncClientAdapterHttpSyncClient
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  35. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  36. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from HttpSyncClient[Req, Resp]

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped