com.mle.android.http

FutureHttpClient

trait FutureHttpClient extends UtilLog with Closeable

Linear Supertypes
Closeable, UtilLog, MleLog, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FutureHttpClient
  2. Closeable
  3. UtilLog
  4. MleLog
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addHeaders(headers: (String, String)*): Unit

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def buildResponseHandler(promise: Promise[HttpResponse]): AsyncHttpResponseHandler

  9. def clone(): AnyRef

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

    Definition Classes
    FutureHttpClient → Closeable
  11. def debug(msg: ⇒ String): Unit

    Definition Classes
    MleLog
  12. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  14. def err(msg: ⇒ String): Unit

    Definition Classes
    MleLog
  15. def failMessage(e: Throwable, stackTrace: Boolean = true): String

    Attributes
    protected
    Definition Classes
    MleLog
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def get[T](uri: String, f: (Promise[T]) ⇒ AsyncHttpResponseHandler): Future[T]

  18. def get(uri: String): Future[HttpResponse]

    GETs uri.

    GETs uri.

    The returned Future fails with an java.io.IOException if the server cannot be reached, an UnauthorizedHttpException if authentication fails and a NotFoundHttpException if the server responds with a 404. For other errors it may fail with a HttpResponseException containing the appropriate error code.

    uri

    request uri

    returns

    the HTTP response following a successful request

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

    Definition Classes
    AnyRef → Any
  20. def getEmpty(uri: String): Future[Unit]

  21. def handleFailure(t: Throwable, maybeContent: Option[String]): Throwable

  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. val httpClient: AsyncHttpClient

  24. val httpFailureHandler: PartialFunction[Throwable, Throwable]

  25. val httpFailureRefiner: PartialFunction[Throwable, Throwable]

  26. def info(msg: ⇒ String): Unit

    Definition Classes
    MleLog
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  31. val passThroughHandler: PartialFunction[Throwable, Throwable]

  32. def postFile[T](uri: String, file: File, f: (Promise[T]) ⇒ AsyncHttpResponseHandler): Future[T]

    Performs a multipart/form-data upload of file.

    Performs a multipart/form-data upload of file.

    file

    file to upload

  33. def postFile(resource: String, file: File): Future[HttpResponse]

  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. def tag: String

    Definition Classes
    UtilLogMleLog
  36. def toString(): String

    Definition Classes
    AnyRef → Any
  37. def transformUri(uri: String): String

    Gets called before the request is executed.

    Gets called before the request is executed.

    The default implementation trivially returns uri.

    uri

    the user-supplied uri string

    returns

    the uri actually used in the request

  38. final def wait(arg0: Long, arg1: Int): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. def warn(msg: ⇒ String): Unit

    Definition Classes
    MleLog
  42. def warn(msg: ⇒ String, ex: Throwable): Unit

    Definition Classes
    MleLog

Inherited from Closeable

Inherited from UtilLog

Inherited from MleLog

Inherited from AnyRef

Inherited from Any

Ungrouped