object HttpClientIR extends LogSupport
Generate an intermediate representation (IR) of Scala HTTP client code from a given airframe-http interface definition (Router).
This IR abstracts away the differences between Scala (Sync/Async clients) and Scala.js (Async + AJAX).
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HttpClientIR
- LogSupport
- LazyLogger
- LoggingMethods
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- case class ClientClassDef(clsName: String, services: Seq[ClientServiceDef]) extends ClientCodeIR with Product with Serializable
- sealed trait ClientCodeIR extends AnyRef
- case class ClientMethodDef(httpMethod: String, isOpsRequest: Boolean, name: String, typeArgs: Seq[Surface], inputParameters: Seq[MethodParameter], clientCallParameters: Seq[String], returnType: Surface, path: String, requestModelClassDef: Option[ClientRequestModelClassDef] = None, isRPC: Boolean) extends ClientCodeIR with Product with Serializable
- case class ClientRequestModelClassDef(name: String, parameter: Seq[Parameter]) extends Product with Serializable
- case class ClientServiceDef(basePackageName: String, fullPackageName: String, serviceName: String, interfaceClass: Class[_], methods: Seq[ClientMethodDef]) extends ClientCodeIR with Product with Serializable
- case class ClientServicePackages(packageLeafName: String, services: Seq[ClientServiceDef], children: Seq[ClientServicePackages]) extends Product with Serializable
Represents hierarchical API structures
- case class ClientSourceDef(destPackageName: String, classDef: ClientClassDef) extends ClientCodeIR with Product with Serializable
- sealed trait GrpcMethodType extends AnyRef
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 buildIR(router: Router, config: HttpClientGeneratorConfig): ClientSourceDef
Building an intermediate representation of the client code
- def buildIR(rxRouter: RxRouter, config: HttpClientGeneratorConfig): ClientSourceDef
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- macro def debug(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
- macro def debug(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- macro def error(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
- macro def error(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- macro def info(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
- macro def info(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- macro def logAt(logLevel: LogLevel, message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
- lazy val logger: Logger
- Attributes
- protected[this]
- Definition Classes
- LazyLogger
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- macro def trace(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
- macro def trace(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- macro def warn(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
- macro def warn(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
- object GrpcMethodType
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated