Packages

class ReposerverHttpClient extends TracingHttpClient with ReposerverClient

Linear Supertypes
ReposerverClient, TracingHttpClient, ServiceHttpClient, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReposerverHttpClient
  2. ReposerverClient
  3. TracingHttpClient
  4. ServiceHttpClient
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ReposerverHttpClient(reposerverUri: Uri, httpClient: (HttpRequest) => Future[HttpResponse], authHeaders: Option[HttpHeader] = None)(implicit ec: ExecutionContext, system: ActorSystem, tracing: ServerRequestTracing)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def ReposerverError(msg: String): RawError
    Attributes
    protected
    Definition Classes
    ReposerverClient
  5. def addTarget(namespace: Namespace, fileName: String, uri: Uri, checksum: Checksum, length: Int, targetFormat: TargetFormat, name: Option[TargetName] = None, version: Option[TargetVersion] = None, hardwareIds: Seq[HardwareIdentifier] = Seq.empty): Future[Unit]
  6. def addTargetFromContent(namespace: Namespace, fileName: String, length: Int, targetFormat: TargetFormat, content: Source[ByteString, Any], name: TargetName, version: TargetVersion, hardwareIds: Seq[HardwareIdentifier]): Future[Unit]
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  9. def createRoot(namespace: Namespace, keyType: KeyType): Future[RepoId]
  10. def deleteTarget(namespace: Namespace, targetFilename: TargetFilename): Future[Unit]
  11. def editTarget(namespace: Namespace, targetFilename: TargetFilename, uri: Option[URI] = None, hardwareIds: Seq[HardwareIdentifier] = Seq.empty, proprietaryMeta: Option[Json] = None): Future[ClientTargetItem]
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def execHttpFull[T](request: HttpRequest)(implicit arg0: ClassTag[T], um: FromEntityUnmarshaller[T]): Future[Either[RemoteServiceError, ServiceHttpFullResponse[T]]]
    Attributes
    protected
    Definition Classes
    ServiceHttpClient
  15. def execHttpFullWithNamespace[T](namespace: Namespace, request: HttpRequest)(implicit ct: ClassTag[T], ev: FromEntityUnmarshaller[T]): Future[ServiceHttpFullResponseEither[T]]
    Attributes
    protected
    Definition Classes
    ReposerverHttpClient → ServiceHttpClient
  16. def execHttpUnmarshalled[T](request: HttpRequest)(implicit arg0: ClassTag[T], um: FromEntityUnmarshaller[T]): Future[Either[RemoteServiceError, T]]
    Attributes
    protected
    Definition Classes
    ServiceHttpClient
  17. def execHttpUnmarshalledWithNamespace[T](namespace: Namespace, request: HttpRequest)(implicit arg0: ClassTag[T], arg1: FromEntityUnmarshaller[T]): Future[Either[RemoteServiceError, T]]
    Attributes
    protected
    Definition Classes
    ServiceHttpClient
  18. def execJsonHttp[Res, Req](request: HttpRequest, entity: Req)(implicit arg0: ClassTag[Res], arg1: FromEntityUnmarshaller[Res], arg2: Encoder[Req]): Future[Either[RemoteServiceError, Res]]
    Attributes
    protected
    Definition Classes
    ServiceHttpClient
  19. def fetchDelegationMetadata(namespace: Namespace, roleName: String): Future[JsonSignedPayload]
  20. def fetchDelegationTargetItems(namespace: Namespace, nameContains: Option[String] = None): Future[PaginationResult[DelegationClientTargetItem]]
  21. def fetchDelegationsInfo(namespace: Namespace): Future[Map[DelegatedRoleName, DelegationInfo]]
  22. def fetchRoot(namespace: Namespace, version: Option[Int]): Future[(RepoId, SignedPayload[RootRole])]
  23. def fetchSingleDelegationTargetItem(namespace: Namespace, targetFilename: TargetFilename): Future[Seq[DelegationClientTargetItem]]
  24. def fetchSingleTargetComments(namespace: Namespace, targetFilename: TargetFilename): Future[FilenameComment]
  25. def fetchSingleTargetItem(namespace: Namespace, targetFilename: TargetFilename): Future[ClientTargetItem]
  26. def fetchSnapshotMetadata(namespace: Namespace): Future[JsonSignedPayload]
  27. def fetchTargetItems(namespace: Namespace, nameContains: Option[String] = None): Future[PaginationResult[ClientTargetItem]]
  28. def fetchTargets(namespace: Namespace): Future[SignedPayload[TargetsRole]]
  29. def fetchTargetsComments(namespace: Namespace, targetNameContains: Option[String]): Future[PaginationResult[FilenameComment]]
  30. def fetchTimestampMetadata(namespace: Namespace): Future[JsonSignedPayload]
  31. def fetchTrustedDelegations(namespace: Namespace): Future[Delegation]
  32. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  33. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  34. def httpClient: (HttpRequest) => Future[HttpResponse]
    Definition Classes
    TracingHttpClient → ServiceHttpClient
  35. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  36. val log: Logger
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  40. def refreshDelegatedRole(namespace: Namespace, fileName: DelegatedRoleName): Future[Unit]
  41. def repoExists(namespace: Namespace)(implicit ec: ExecutionContext): Future[Boolean]
    Definition Classes
    ReposerverClient
  42. def setTargetComments(namespace: Namespace, targetFilename: TargetFilename, comment: String): Future[Unit]
  43. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  44. def targetExists(namespace: Namespace, targetFilename: TargetFilename): Future[Boolean]
  45. def toString(): String
    Definition Classes
    AnyRef → Any
  46. implicit val unitFromEntityUnmarshaller: FromEntityUnmarshaller[Unit]
    Attributes
    protected
    Definition Classes
    ServiceHttpClient
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  49. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from ReposerverClient

Inherited from TracingHttpClient

Inherited from ServiceHttpClient

Inherited from AnyRef

Inherited from Any

Ungrouped