biz.enef.angular.core

HttpPromise

trait HttpPromise[T] extends Object

Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HttpPromise
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def error(callback: Function5[Any, Int, Any, Any, UndefOr[String], Unit]): HttpPromise.this.type

  2. abstract def error(callback: Function4[Any, Int, Any, Any, Unit]): HttpPromise.this.type

  3. abstract def error(callback: Function3[Any, Any, Int, Unit]): HttpPromise.this.type

  4. abstract def error(callback: Function2[Any, Int, Unit]): HttpPromise.this.type

  5. abstract def error(callback: Function1[Any, Unit]): HttpPromise.this.type

  6. abstract def error(callback: Function): HttpPromise.this.type

  7. abstract def success(callback: Function5[Any, Int, Any, Any, Any, Unit]): HttpPromise.this.type

  8. abstract def success(callback: Function4[Any, Int, Any, Any, Unit]): HttpPromise.this.type

  9. abstract def success(callback: Function3[Any, Any, Int, Unit]): HttpPromise.this.type

  10. abstract def success(callback: Function2[Any, Int, Unit]): HttpPromise.this.type

  11. abstract def success(callback: Function1[Any, Unit]): HttpPromise.this.type

  12. abstract def success(callback: Function): HttpPromise.this.type

Concrete 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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. macro def future: Future[T]

    Returns a Scala Future for this HttpPromise.

    Returns a Scala Future for this HttpPromise.

    Note

    This is a scalajs-angulate enhancement.

  10. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  11. def hasOwnProperty(v: String): Boolean

    Definition Classes
    Object
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. def isPrototypeOf(v: Object): Boolean

    Definition Classes
    Object
  15. macro def map[U](f: (T) ⇒ U): HttpPromise[U]

  16. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  19. macro def onComplete(f: (Try[T]) ⇒ Unit): HttpPromise[T]

  20. macro def onFailure(f: (HttpError) ⇒ Unit): HttpPromise[T]

  21. macro def onSuccess(f: (T) ⇒ Unit): HttpPromise[T]

    The provided callback will be called when a successful response is available (response status codes between 200 and 299 are considered a success status).

    The provided callback will be called when a successful response is available (response status codes between 200 and 299 are considered a success status).

    Note

    This is a scalajs-angulate enhancement. The response data provided to the callback will be cast to the specified type T.

  22. def propertyIsEnumerable(v: String): Boolean

    Definition Classes
    Object
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. var then: Function3[Function, Function, Function, HttpPromise[T]]

  25. def toLocaleString(): String

    Definition Classes
    Object
  26. def toString(): String

    Definition Classes
    AnyRef → Any
  27. def valueOf(): Any

    Definition Classes
    Object
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def unary_!(): Boolean

    Definition Classes
    Any
    Annotations
    @deprecated
    Deprecated

    (Since version 0.5.0) Considered abuse in typed JavaScript, will be removed in 0.6. Use js.Dynamic or js.prim.Boolean instead.

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped