Packages

c

com.comcast.money.http.client

TraceFriendlyHttpClient

class TraceFriendlyHttpClient extends HttpClient with Closeable

Provides a thin wrapper around HttpClient to allow support tracing

Source
TraceFriendlyHttpClient.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TraceFriendlyHttpClient
  2. Closeable
  3. AutoCloseable
  4. HttpClient
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TraceFriendlyHttpClient(wrapee: HttpClient)

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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def close(): Unit
    Definition Classes
    TraceFriendlyHttpClient → Closeable → AutoCloseable
    Annotations
    @throws(classOf[IOException])
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def execute[T](target: HttpHost, request: HttpRequest, responseHandler: ResponseHandler[_ <: T], context: HttpContext): T
    Definition Classes
    TraceFriendlyHttpClient → HttpClient
    Annotations
    @throws(classOf[IOException]) @throws(classOf[ClientProtocolException])
  10. def execute[T](target: HttpHost, request: HttpRequest, responseHandler: ResponseHandler[_ <: T]): T
    Definition Classes
    TraceFriendlyHttpClient → HttpClient
    Annotations
    @throws(classOf[IOException]) @throws(classOf[ClientProtocolException])
  11. def execute[T](request: HttpUriRequest, responseHandler: ResponseHandler[_ <: T], context: HttpContext): T
    Definition Classes
    TraceFriendlyHttpClient → HttpClient
    Annotations
    @throws(classOf[IOException]) @throws(classOf[ClientProtocolException])
  12. def execute[T](request: HttpUriRequest, responseHandler: ResponseHandler[_ <: T]): T

    We are making a big assertion of how the response handler code works; it is expected that they call one of the execute methods above that are instrumented.

    We are making a big assertion of how the response handler code works; it is expected that they call one of the execute methods above that are instrumented. In that case, the http code will have been instrumented already. If a client does something other than calling the already instrumented execute method then we are screwed

    Definition Classes
    TraceFriendlyHttpClient → HttpClient
    Annotations
    @throws(classOf[IOException]) @throws(classOf[ClientProtocolException])
  13. def execute(target: HttpHost, request: HttpRequest, context: HttpContext): HttpResponse
    Definition Classes
    TraceFriendlyHttpClient → HttpClient
    Annotations
    @throws(classOf[IOException]) @throws(classOf[ClientProtocolException])
  14. def execute(target: HttpHost, request: HttpRequest): HttpResponse
    Definition Classes
    TraceFriendlyHttpClient → HttpClient
    Annotations
    @throws(classOf[IOException]) @throws(classOf[ClientProtocolException])
  15. def execute(request: HttpUriRequest, context: HttpContext): HttpResponse
    Definition Classes
    TraceFriendlyHttpClient → HttpClient
    Annotations
    @throws(classOf[IOException]) @throws(classOf[ClientProtocolException])
  16. def execute(request: HttpUriRequest): HttpResponse
    Definition Classes
    TraceFriendlyHttpClient → HttpClient
    Annotations
    @throws(classOf[IOException]) @throws(classOf[ClientProtocolException])
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def getConnectionManager(): ClientConnectionManager
    Definition Classes
    TraceFriendlyHttpClient → HttpClient
  20. def getParams(): HttpParams
    Definition Classes
    TraceFriendlyHttpClient → HttpClient
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. val tracer: Tracer
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Closeable

Inherited from AutoCloseable

Inherited from HttpClient

Inherited from AnyRef

Inherited from Any

Ungrouped