uk.gov.hmrc.http

Members list

Type members

Classlikes

final case class AkamaiReputation(value: String) extends AnyVal

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
final case class Authorization(value: String) extends AnyVal

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
class BadGatewayException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class BadRequestException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case object BuildInfo

This object was generated by sbt-buildinfo.

This object was generated by sbt-buildinfo.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
BuildInfo.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
class ConflictException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
object CookieNames

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
final case class ErrorTimeout(toDuration: Duration) extends AnyVal

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
object ErrorTimeout

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class ExpectationFailedException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class FailedDependencyException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class ForbiddenException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class ForwardedFor(value: String) extends AnyVal

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
class GatewayTimeoutException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class GoneException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class HeaderCarrier(authorization: Option[Authorization], forwarded: Option[ForwardedFor], sessionId: Option[SessionId], requestId: Option[RequestId], requestChain: RequestChain, nsStamp: Long, extraHeaders: Seq[(String, String)], trueClientIp: Option[String], trueClientPort: Option[String], gaToken: Option[String], gaUserId: Option[String], deviceID: Option[String], akamaiReputation: Option[AkamaiReputation], otherHeaders: Seq[(String, String)]) extends LoggingDetails

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object HeaderCarrier

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
object HeaderNames

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
class HttpException(val message: String, val responseCode: Int) extends Exception

Represents an error occuring within the service itself. See UpstreamErrorResponse for errors returned from Upstream services.

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Show all
Self type
HttpReads.type
trait HttpReads[A]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
object
Supertypes
trait HttpReadsTry
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Companion
trait
Supertypes
trait HttpReadsTry
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object HttpReads

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait HttpReadsTry

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait HttpResponse

The ws.Response class is very hard to dummy up as it wraps a concrete instance of the ning http Response. This trait exposes just the bits of the response that we need in methods that we are passing the response to for processing, making it much easier to provide dummy data in our specs.

The ws.Response class is very hard to dummy up as it wraps a concrete instance of the ning http Response. This trait exposes just the bits of the response that we need in methods that we are passing the response to for processing, making it much easier to provide dummy data in our specs.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object HttpResponse

Attributes

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

Standard HTTP Verbs

Standard HTTP Verbs

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object HttpVerbs
object HttpVerbs extends HttpVerbs

Attributes

Companion
trait
Supertypes
trait HttpVerbs
class Object
trait Matchable
class Any
Self type
HttpVerbs.type
class HttpVersionNotSupportedException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class InsufficientStorageException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class InternalServerException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class JsValidationException(val method: String, val url: String, val readingAs: Class[_], val errors: String) extends Exception

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class LengthRequiredException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class LockedException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class MethodNotAllowedException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class NotAcceptableException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class NotFoundException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class NotImplementedException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class PaymentRequiredException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class PreconditionFailedException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class ProxyAuthenticationRequiredException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class RequestChain(value: String) extends AnyVal

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
object RequestChain

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class RequestEntityTooLargeException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class RequestId(value: String) extends AnyVal

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
class RequestRangeNotSatisfiableException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class RequestTimeoutException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class RequestUriTooLongException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
trait Retries

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ExecutorImpl
trait HttpDelete
trait HttpClient
trait HttpGet
trait HttpPatch
trait HttpPost
trait HttpPut
Show all
class ServiceUnavailableException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class SessionId(value: String) extends AnyVal

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
object SessionKeys

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
final implicit class StringContextOps(val sc: StringContext) extends AnyVal

Attributes

Supertypes
class AnyVal
trait Matchable
class Any
class TooManyRequestException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
object TypeUtil

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
TypeUtil.type
class UnauthorizedException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class UnprocessableEntityException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class UnsupportedMediaTypeException(message: String) extends HttpException

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class UpstreamErrorResponse(message: String, statusCode: Int, reportAs: Int, headers: Map[String, Seq[String]]) extends Exception

Represent unhandled status codes returned from upstream

Represent unhandled status codes returned from upstream

Attributes

Companion
object
Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Deprecated classlikes

trait CoreDelete

Attributes

Deprecated
true
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait HttpDelete
trait HttpClient
trait WSDelete
trait WSDelete
trait WSHttp
trait CoreGet

Attributes

Deprecated
true
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait HttpGet
trait HttpClient
trait WSGet
trait WSGet
trait WSHttp
trait CorePatch

Attributes

Deprecated
true
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait HttpPatch
trait HttpClient
trait WSPatch
trait WSPatch
trait WSHttp
trait CorePost

Attributes

Deprecated
true
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait HttpPost
trait HttpClient
trait WSPost
trait WSPost
trait WSHttp
trait CorePut

Attributes

Deprecated
true
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait HttpPut
trait HttpClient
trait WSPut
trait WSPut
trait WSHttp

Attributes

Deprecated
true
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait HttpDelete
trait HttpClient
trait WSDelete
trait WSDelete
trait WSHttp
Show all

Attributes

Deprecated
true
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait HttpGet
trait HttpClient
trait WSGet
trait WSGet
trait WSHttp
Show all

Attributes

Deprecated
true
Supertypes
trait HttpPatch
trait CorePatch
trait HttpDelete
trait CoreDelete
trait HttpPost
trait CorePost
trait HttpPut
trait CorePut
trait HttpGet
trait Retries
trait HttpHooks
trait HttpVerb
trait Request
trait CoreGet
class Object
trait Matchable
class Any
Show all

Attributes

Deprecated
true
Supertypes
trait Retries
trait HttpHooks
trait HttpVerb
trait Request
trait CoreDelete
class Object
trait Matchable
class Any
Show all
Known subtypes
trait HttpClient

Attributes

Deprecated
true
Supertypes
trait Retries
trait HttpHooks
trait HttpVerb
trait Request
trait CoreGet
class Object
trait Matchable
class Any
Show all
Known subtypes
trait HttpClient

Attributes

Deprecated
true
Supertypes
trait Retries
trait HttpHooks
trait HttpVerb
trait Request
trait CorePatch
class Object
trait Matchable
class Any
Show all
Known subtypes
trait HttpClient

Attributes

Deprecated
true
Supertypes
trait Retries
trait HttpHooks
trait HttpVerb
trait Request
trait CorePost
class Object
trait Matchable
class Any
Show all
Known subtypes
trait HttpClient

Attributes

Deprecated
true
Supertypes
trait Retries
trait HttpHooks
trait HttpVerb
trait Request
trait CorePut
class Object
trait Matchable
class Any
Show all
Known subtypes
trait HttpClient

Attributes

Deprecated
true
Supertypes
class Object
trait Matchable
class Any
Show all
trait HttpVerb extends Request

Attributes

Deprecated
true
Supertypes
trait Request
class Object
trait Matchable
class Any
Known subtypes
trait HttpDelete
trait HttpClient
trait HttpGet
trait HttpPatch
trait HttpPost
trait HttpPut
Show all

Attributes

Deprecated
true
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait HttpPatch
trait HttpClient
trait WSPatch
trait WSPatch
trait WSHttp
Show all

Attributes

Deprecated
true
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait HttpPost
trait HttpClient
trait WSPost
trait WSPost
trait WSHttp
Show all

Attributes

Deprecated
true
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait HttpPut
trait HttpClient
trait WSPut
trait WSPut
trait WSHttp
Show all
trait Request

Attributes

Deprecated
true
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait HttpVerb
trait HttpDelete
trait HttpClient
trait HttpGet
trait HttpPatch
trait HttpPost
trait HttpPut
trait WSDelete
trait WSDelete
trait WSHttp
trait WSGet
trait WSGet
trait WSPatch
trait WSPatch
trait WSPost
trait WSPost
trait WSPut
trait WSPut
trait WSRequest
trait WSProxy
Show all
class UrlValidationException(val url: String, val context: String, val message: String) extends Exception

Attributes

Deprecated
true
Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Implicits

Implicits

final implicit def StringContextOps(sc: StringContext): StringContextOps