com.metl.utils

CleanHttpClient

Related Doc: package utils

class CleanHttpClient extends DefaultHttpClient with IMeTLHttpClient

Linear Supertypes
IMeTLHttpClient, DefaultHttpClient, AbstractHttpClient, HttpClient, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CleanHttpClient
  2. IMeTLHttpClient
  3. DefaultHttpClient
  4. AbstractHttpClient
  5. HttpClient
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CleanHttpClient(connMgr: ClientConnectionManager)

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 addAdditionalHeaders(message: AbstractHttpMessage, additionalHeaders: List[(String, String)]): Unit

    Attributes
    protected
  5. def addAuthorization(domain: String, username: String, password: String): Unit

    Definition Classes
    CleanHttpClientIMeTLHttpClient
  6. def addHttpHeader(name: String, value: String): Unit

  7. def addRequestInterceptor(arg0: HttpRequestInterceptor, arg1: Int): Unit

    Definition Classes
    AbstractHttpClient
  8. def addRequestInterceptor(arg0: HttpRequestInterceptor): Unit

    Definition Classes
    AbstractHttpClient
  9. def addResponseInterceptor(arg0: HttpResponseInterceptor, arg1: Int): Unit

    Definition Classes
    AbstractHttpClient
  10. def addResponseInterceptor(arg0: HttpResponseInterceptor): Unit

    Definition Classes
    AbstractHttpClient
  11. def applyAuthHeader(message: AbstractHttpMessage, uri: URI): Unit

    Attributes
    protected
  12. def applyClientCookies(request: AbstractHttpMessage, uri: URI): Unit

    Attributes
    protected
  13. def applyDefaultHeaders(message: AbstractHttpMessage, uri: URI): Unit

    Attributes
    protected
  14. def applyHostHeader(message: AbstractHttpMessage, uri: URI): Unit

    Attributes
    protected
  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. def clearRequestInterceptors(): Unit

    Definition Classes
    AbstractHttpClient
  17. def clearResponseInterceptors(): Unit

    Definition Classes
    AbstractHttpClient
  18. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. val connectionTimeout: Int

    Attributes
    protected
  20. var cookies: Map[String, Header]

    Attributes
    protected
  21. def createAuthSchemeRegistry(): AuthSchemeRegistry

    Attributes
    protected[org.apache.http.impl.client]
    Definition Classes
    AbstractHttpClient
  22. def createClientConnectionManager(): ClientConnectionManager

    Attributes
    protected[org.apache.http.impl.client]
    Definition Classes
    AbstractHttpClient
  23. def createClientRequestDirector(arg0: HttpRequestExecutor, arg1: ClientConnectionManager, arg2: ConnectionReuseStrategy, arg3: ConnectionKeepAliveStrategy, arg4: HttpRoutePlanner, arg5: HttpProcessor, arg6: HttpRequestRetryHandler, arg7: RedirectStrategy, arg8: AuthenticationHandler, arg9: AuthenticationHandler, arg10: UserTokenHandler, arg11: HttpParams): RequestDirector

    Attributes
    protected[org.apache.http.impl.client]
    Definition Classes
    AbstractHttpClient
  24. def createConnectionKeepAliveStrategy(): ConnectionKeepAliveStrategy

    Attributes
    protected[org.apache.http.impl.client]
    Definition Classes
    AbstractHttpClient
  25. def createConnectionReuseStrategy(): ConnectionReuseStrategy

    Attributes
    protected[org.apache.http.impl.client]
    Definition Classes
    AbstractHttpClient
  26. def createCookieSpecRegistry(): CookieSpecRegistry

    Attributes
    protected[org.apache.http.impl.client]
    Definition Classes
    AbstractHttpClient
  27. def createCookieStore(): CookieStore

    Attributes
    protected[org.apache.http.impl.client]
    Definition Classes
    AbstractHttpClient
  28. def createCredentialsProvider(): CredentialsProvider

    Attributes
    protected[org.apache.http.impl.client]
    Definition Classes
    AbstractHttpClient
  29. def createHttpContext(): HttpContext

    Attributes
    protected[org.apache.http.impl.client]
    Definition Classes
    AbstractHttpClient
  30. def createHttpParams(): HttpParams

    Attributes
    protected[org.apache.http.impl.client]
    Definition Classes
    DefaultHttpClient → AbstractHttpClient
  31. def createHttpProcessor(): BasicHttpProcessor

    Attributes
    protected[org.apache.http.impl.client]
    Definition Classes
    DefaultHttpClient → AbstractHttpClient
  32. def createHttpRequestRetryHandler(): HttpRequestRetryHandler

    Attributes
    protected[org.apache.http.impl.client]
    Definition Classes
    AbstractHttpClient
  33. def createHttpRoutePlanner(): HttpRoutePlanner

    Attributes
    protected[org.apache.http.impl.client]
    Definition Classes
    AbstractHttpClient
  34. def createProxyAuthenticationHandler(): AuthenticationHandler

    Attributes
    protected[org.apache.http.impl.client]
    Definition Classes
    AbstractHttpClient
  35. def createRequestExecutor(): HttpRequestExecutor

    Attributes
    protected[org.apache.http.impl.client]
    Definition Classes
    AbstractHttpClient
  36. def createTargetAuthenticationHandler(): AuthenticationHandler

    Attributes
    protected[org.apache.http.impl.client]
    Definition Classes
    AbstractHttpClient
  37. def createUserTokenHandler(): UserTokenHandler

    Attributes
    protected[org.apache.http.impl.client]
    Definition Classes
    AbstractHttpClient
  38. def determineConnSecurity(uri: URI): Boolean

    Attributes
    protected
  39. def determineHost(uri: URI): String

    Attributes
    protected
  40. def determineParams(arg0: HttpRequest): HttpParams

    Attributes
    protected[org.apache.http.impl.client]
    Definition Classes
    AbstractHttpClient
  41. def determinePath(uri: URI): String

    Attributes
    protected
  42. def determinePort(uri: URI): Int

    Attributes
    protected
  43. def determineQuery(uri: URI): String

    Attributes
    protected
  44. def determineScheme(uri: URI): String

    Attributes
    protected
  45. def displayMetrics(conn: ManagedClientConnection): Unit

    Attributes
    protected
  46. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  48. def execute[T](arg0: HttpHost, arg1: HttpRequest, arg2: ResponseHandler[_ <: T], arg3: HttpContext): T

    Definition Classes
    AbstractHttpClient → HttpClient
    Annotations
    @throws( ... ) @throws( classOf[java.io.IOException] )
  49. def execute[T](arg0: HttpHost, arg1: HttpRequest, arg2: ResponseHandler[_ <: T]): T

    Definition Classes
    AbstractHttpClient → HttpClient
    Annotations
    @throws( ... ) @throws( classOf[java.io.IOException] )
  50. def execute[T](arg0: HttpUriRequest, arg1: ResponseHandler[_ <: T], arg2: HttpContext): T

    Definition Classes
    AbstractHttpClient → HttpClient
    Annotations
    @throws( ... ) @throws( classOf[java.io.IOException] )
  51. def execute[T](arg0: HttpUriRequest, arg1: ResponseHandler[_ <: T]): T

    Definition Classes
    AbstractHttpClient → HttpClient
    Annotations
    @throws( ... ) @throws( classOf[java.io.IOException] )
  52. final def execute(arg0: HttpHost, arg1: HttpRequest, arg2: HttpContext): HttpResponse

    Definition Classes
    AbstractHttpClient → HttpClient
    Annotations
    @throws( ... ) @throws( classOf[java.io.IOException] )
  53. final def execute(arg0: HttpHost, arg1: HttpRequest): HttpResponse

    Definition Classes
    AbstractHttpClient → HttpClient
    Annotations
    @throws( ... ) @throws( classOf[java.io.IOException] )
  54. final def execute(arg0: HttpUriRequest, arg1: HttpContext): HttpResponse

    Definition Classes
    AbstractHttpClient → HttpClient
    Annotations
    @throws( ... ) @throws( classOf[java.io.IOException] )
  55. final def execute(arg0: HttpUriRequest): HttpResponse

    Definition Classes
    AbstractHttpClient → HttpClient
    Annotations
    @throws( ... ) @throws( classOf[java.io.IOException] )
  56. def executeHttpConnAction(uri: String, actOnConn: (ManagedClientConnection, String, String) ⇒ Unit, retriesSoFar: Int = 0, redirectsSoFar: Int = 0, exceptions: List[Throwable] = List.empty[Throwable], startTime: Long = new Date().getTime): HTTPResponse

    Attributes
    protected
  57. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  58. def get(uri: String, additionalHeaders: List[(String, String)] = List.empty[(String,String)]): String

    Definition Classes
    CleanHttpClientIMeTLHttpClient
  59. def get(uri: String): String

    Definition Classes
    IMeTLHttpClient
  60. def getAsBytes(uri: String, additionalHeaders: List[(String, String)] = List.empty[(String,String)]): Array[Byte]

    Definition Classes
    CleanHttpClientIMeTLHttpClient
  61. def getAsBytes(uri: String): Array[Byte]

    Definition Classes
    IMeTLHttpClient
  62. def getAsString(uri: String, additionalHeaders: List[(String, String)] = List.empty[(String,String)]): String

    Definition Classes
    CleanHttpClientIMeTLHttpClient
  63. def getAsString(uri: String): String

    Definition Classes
    IMeTLHttpClient
  64. final def getAuthSchemes(): AuthSchemeRegistry

    Definition Classes
    AbstractHttpClient
  65. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  66. final def getConnectionKeepAliveStrategy(): ConnectionKeepAliveStrategy

    Definition Classes
    AbstractHttpClient
  67. final def getConnectionManager(): ClientConnectionManager

    Definition Classes
    AbstractHttpClient → HttpClient
  68. final def getConnectionReuseStrategy(): ConnectionReuseStrategy

    Definition Classes
    AbstractHttpClient
  69. final def getCookieSpecs(): CookieSpecRegistry

    Definition Classes
    AbstractHttpClient
  70. final def getCookieStore(): CookieStore

    Definition Classes
    AbstractHttpClient
  71. def getCookies: Map[String, Header]

    Definition Classes
    CleanHttpClientIMeTLHttpClient
  72. final def getCredentialsProvider(): CredentialsProvider

    Definition Classes
    AbstractHttpClient
  73. def getExpectingHTTPResponse(uri: String, additionalHeaders: List[(String, String)] = List.empty[(String,String)], retriesSoFar: Int = 0, redirectsSoFar: Int = 0, exceptions: List[Throwable] = List.empty[Throwable], startTime: Long = new Date().getTime): HTTPResponse

    Definition Classes
    CleanHttpClientIMeTLHttpClient
  74. def getHttpHeaders: List[Header]

    Definition Classes
    CleanHttpClientIMeTLHttpClient
  75. final def getHttpProcessor(): BasicHttpProcessor

    Attributes
    protected[org.apache.http.impl.client]
    Definition Classes
    AbstractHttpClient
  76. final def getHttpRequestRetryHandler(): HttpRequestRetryHandler

    Definition Classes
    AbstractHttpClient
  77. final def getParams(): HttpParams

    Definition Classes
    AbstractHttpClient → HttpClient
  78. final def getProxyAuthenticationHandler(): AuthenticationHandler

    Definition Classes
    AbstractHttpClient
  79. final def getRedirectStrategy(): RedirectStrategy

    Definition Classes
    AbstractHttpClient
  80. final def getRequestExecutor(): HttpRequestExecutor

    Definition Classes
    AbstractHttpClient
  81. def getRequestInterceptor(arg0: Int): HttpRequestInterceptor

    Definition Classes
    AbstractHttpClient
  82. def getRequestInterceptorCount(): Int

    Definition Classes
    AbstractHttpClient
  83. def getResponseInterceptor(arg0: Int): HttpResponseInterceptor

    Definition Classes
    AbstractHttpClient
  84. def getResponseInterceptorCount(): Int

    Definition Classes
    AbstractHttpClient
  85. final def getRoutePlanner(): HttpRoutePlanner

    Definition Classes
    AbstractHttpClient
  86. final def getTargetAuthenticationHandler(): AuthenticationHandler

    Definition Classes
    AbstractHttpClient
  87. final def getUserTokenHandler(): UserTokenHandler

    Definition Classes
    AbstractHttpClient
  88. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  89. def httpContext: HttpContext

    Attributes
    protected
  90. var httpHeaders: Array[Header]

    Attributes
    protected
  91. def httpParams: HttpParams

    Attributes
    protected
  92. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  93. val keepAliveTimeout: Int

    Attributes
    protected
  94. val maxRedirects: Int

    Attributes
    protected
  95. val maxRetries: Int

    Attributes
    protected
  96. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  99. def postBytes(uri: String, bytes: Array[Byte], additionalHeaders: List[(String, String)] = List.empty[(String,String)]): Array[Byte]

    Definition Classes
    CleanHttpClientIMeTLHttpClient
  100. def postBytes(uri: String, bytes: Array[Byte]): Array[Byte]

    Definition Classes
    IMeTLHttpClient
  101. def postBytesExpectingHTTPResponse(uri: String, bytes: Array[Byte], additionalHeaders: List[(String, String)] = List.empty[(String,String)]): HTTPResponse

    Definition Classes
    CleanHttpClientIMeTLHttpClient
  102. def postForm(uri: String, postItemList: List[(String, String)], additionalHeaders: List[(String, String)] = List.empty[(String,String)]): Array[Byte]

    Definition Classes
    CleanHttpClientIMeTLHttpClient
  103. def postForm(uri: String, postItemList: List[(String, String)]): Array[Byte]

    Definition Classes
    IMeTLHttpClient
  104. def postFormExpectingHTTPResponse(uri: String, postItemList: List[(String, String)], additionalHeaders: List[(String, String)] = List.empty[(String,String)]): HTTPResponse

    Definition Classes
    CleanHttpClientIMeTLHttpClient
  105. def postUnencodedForm(uri: String, postItemList: List[(String, String)], additionalHeaders: List[(String, String)] = List.empty[(String,String)]): Array[Byte]

    Definition Classes
    CleanHttpClientIMeTLHttpClient
  106. def postUnencodedForm(uri: String, postItemList: List[(String, String)]): Array[Byte]

    Definition Classes
    IMeTLHttpClient
  107. def postUnencodedFormExpectingHttpResponse(uri: String, postItemList: List[(String, String)], additionalHeaders: List[(String, String)] = List.empty[(String,String)]): HTTPResponse

    Definition Classes
    CleanHttpClientIMeTLHttpClient
  108. val readTimeout: Int

    Attributes
    protected
  109. def removeRequestInterceptorByClass(arg0: Class[_ <: HttpRequestInterceptor]): Unit

    Definition Classes
    AbstractHttpClient
  110. def removeResponseInterceptorByClass(arg0: Class[_ <: HttpResponseInterceptor]): Unit

    Definition Classes
    AbstractHttpClient
  111. def respondToResponse(response: HTTPResponse, additionalHeaders: List[(String, String)] = List.empty[(String,String)]): HTTPResponse

  112. def setAuthSchemes(arg0: AuthSchemeRegistry): Unit

    Definition Classes
    AbstractHttpClient
  113. def setCookieSpecs(arg0: CookieSpecRegistry): Unit

    Definition Classes
    AbstractHttpClient
  114. def setCookieStore(arg0: CookieStore): Unit

    Definition Classes
    AbstractHttpClient
  115. def setCookies(cook: Map[String, Header]): Unit

    Definition Classes
    CleanHttpClientIMeTLHttpClient
  116. def setCredentialsProvider(arg0: CredentialsProvider): Unit

    Definition Classes
    AbstractHttpClient
  117. def setHttpHeaders(headers: List[Header]): Unit

    Definition Classes
    CleanHttpClientIMeTLHttpClient
  118. def setHttpRequestRetryHandler(arg0: HttpRequestRetryHandler): Unit

    Definition Classes
    AbstractHttpClient
  119. def setKeepAliveStrategy(arg0: ConnectionKeepAliveStrategy): Unit

    Definition Classes
    AbstractHttpClient
  120. def setParams(arg0: HttpParams): Unit

    Definition Classes
    AbstractHttpClient
  121. def setProxyAuthenticationHandler(arg0: AuthenticationHandler): Unit

    Definition Classes
    AbstractHttpClient
  122. def setRedirectStrategy(arg0: RedirectStrategy): Unit

    Definition Classes
    AbstractHttpClient
  123. def setReuseStrategy(arg0: ConnectionReuseStrategy): Unit

    Definition Classes
    AbstractHttpClient
  124. def setRoutePlanner(arg0: HttpRoutePlanner): Unit

    Definition Classes
    AbstractHttpClient
  125. def setTargetAuthenticationHandler(arg0: AuthenticationHandler): Unit

    Definition Classes
    AbstractHttpClient
  126. def setUserTokenHandler(arg0: UserTokenHandler): Unit

    Definition Classes
    AbstractHttpClient
  127. def storeClientCookies(newHeaders: List[Header]): Unit

    Attributes
    protected
  128. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  129. def toString(): String

    Definition Classes
    AnyRef → Any
  130. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  133. def withConn(uri: String, actOnConn: (ManagedClientConnection, String, String) ⇒ Unit, redirectNumber: Int = 0, retryNumber: Int = 0, exceptionsSoFar: List[Throwable] = List.empty[Throwable], start: Long = new Date().getTime): HTTPResponse

    Attributes
    protected

Deprecated Value Members

  1. def createClientRequestDirector(arg0: HttpRequestExecutor, arg1: ClientConnectionManager, arg2: ConnectionReuseStrategy, arg3: ConnectionKeepAliveStrategy, arg4: HttpRoutePlanner, arg5: HttpProcessor, arg6: HttpRequestRetryHandler, arg7: RedirectHandler, arg8: AuthenticationHandler, arg9: AuthenticationHandler, arg10: UserTokenHandler, arg11: HttpParams): RequestDirector

    Attributes
    protected[org.apache.http.impl.client]
    Definition Classes
    AbstractHttpClient
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def createRedirectHandler(): RedirectHandler

    Attributes
    protected[org.apache.http.impl.client]
    Definition Classes
    AbstractHttpClient
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  3. final def getRedirectHandler(): RedirectHandler

    Definition Classes
    AbstractHttpClient
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  4. def setRedirectHandler(arg0: RedirectHandler): Unit

    Definition Classes
    AbstractHttpClient
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from IMeTLHttpClient

Inherited from DefaultHttpClient

Inherited from AbstractHttpClient

Inherited from HttpClient

Inherited from AnyRef

Inherited from Any

Ungrouped