HttpClientException

wvlet.airframe.http.HttpClientException$
See theHttpClientException companion class
object HttpClientException extends LogSupport

Common classifiers for HTTP client responses and exceptions in order to retry HTTP requests.

Attributes

Companion:
class
Graph
Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def classifyExecutionFailure(ex: Throwable): Failed

The default classifier for http client exception

The default classifier for http client exception

Attributes

def classifyExecutionFailureScalaJS(ex: Throwable): Failed

The default exception classifier for Scala.js, which does not reference any JVM-specific pakckages, such as java.net, java.reflect, etc.

The default exception classifier for Scala.js, which does not reference any JVM-specific pakckages, such as java.net, java.reflect, etc.

Attributes

def classifyHttpResponse[Resp](response: Resp)(implicit adapter: HttpResponseAdapter[Resp]): ResultClass

The default classifier of http responses to determine whether the request has succeeded or not.

The default classifier of http responses to determine whether the request has succeeded or not.

Attributes

def connectionExceptionClassifier: PartialFunction[Throwable, Failed]
def executionFailureClassifier: PartialFunction[Throwable, Failed]
def isRetryableFinagleException(e: Throwable): Boolean
def nonRetryable: Throwable => Failed
def rootCauseExceptionClassifier: PartialFunction[Throwable, Failed]
def rootCauseExceptionClassifierScalaJS: PartialFunction[Throwable, Failed]

For ScalaJs, which doesn't have InvocationTargetException

For ScalaJs, which doesn't have InvocationTargetException

Attributes

def scalajsCompatibleFailureClassifier: PartialFunction[Throwable, Failed]
def sslExceptionClassifier: PartialFunction[Throwable, Failed]

Inherited methods

inline protected def debug(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def debug(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def info(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def info(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def logAt(inline logLevel: LogLevel, inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def trace(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def trace(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods