HttpErrorFunctions

uk.gov.hmrc.http.HttpErrorFunctions
See theHttpErrorFunctions companion trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Inherited methods

def badGatewayMessage(verbName: String, url: String, e: Exception): String

Attributes

Inherited from:
HttpErrorFunctions
def badGatewayMessage(verbName: String, url: String, status: Int, responseBody: String): String

Attributes

Inherited from:
HttpErrorFunctions
def badRequestMessage(verbName: String, url: String, responseBody: String): String

Attributes

Inherited from:
HttpErrorFunctions
def gatewayTimeoutMessage(verbName: String, url: String, e: Exception): String

Attributes

Inherited from:
HttpErrorFunctions
def handleResponseEither(httpMethod: String, url: String)(response: HttpResponse): Either[UpstreamErrorResponse, HttpResponse]

Attributes

Inherited from:
HttpErrorFunctions
def handleResponseEitherStream(httpMethod: String, url: String)(response: HttpResponse)(implicit mat: Materializer, errorTimeout: ErrorTimeout): Either[UpstreamErrorResponse, HttpResponse]

Attributes

Inherited from:
HttpErrorFunctions
def is2xx(status: Int): Boolean

Attributes

Inherited from:
HttpErrorFunctions
def is4xx(status: Int): Boolean

Attributes

Inherited from:
HttpErrorFunctions
def is5xx(status: Int): Boolean

Attributes

Inherited from:
HttpErrorFunctions
def notFoundMessage(verbName: String, url: String, responseBody: String): String

Attributes

Inherited from:
HttpErrorFunctions
def preconditionFailedMessage(verbName: String, url: String, responseBody: String): String

Attributes

Inherited from:
HttpErrorFunctions
def upstreamResponseMessage(verbName: String, url: String, status: Int, responseBody: String): String

Attributes

Inherited from:
HttpErrorFunctions