< Back
 

# Packages

-  package root
  Definition Classes
    root
-  package uk
  Definition Classes
    root
-  package gov
  Definition Classes
    uk
-  package hmrc
  Definition Classes
    gov
-  package http
  Definition Classes
    hmrc
-  package controllers
  Definition Classes
    http
-  package hooks
  Definition Classes
    http
-  package logging
  Definition Classes
    http
- BadGatewayException
- BadRequestException
- ConflictException
- CookieNames
- CoreDelete
- CoreGet
- CorePatch
- CorePost
- CorePut
- DeleteHttpTransport
- ExpectationFailedException
- FailedDependencyException
- ForbiddenException
- GatewayTimeoutException
- GetHttpTransport
- GoneException
- HeaderCarrier
- HeaderNames
- HeaderProvider
- HttpClient
- HttpDelete
- HttpErrorFunctions
- HttpException
- HttpGet
- HttpPatch
- HttpPost
- HttpPut
- HttpReads
- HttpReadsEither
- HttpReadsHttpResponse
- HttpReadsInstances
- HttpReadsJson
- HttpReadsLegacyInstances
- HttpReadsLegacyJson
- HttpReadsLegacyOption
- HttpReadsLegacyRawReads
- HttpReadsOption
- HttpReadsTry
- HttpResponse
- HttpTransport
- HttpVerb
- HttpVerbs
- HttpVersionNotSupportedException
- InsufficientStorageException
- InternalServerException
- JsValidationException
- LengthRequiredException
- LockedException
- LowPriorityHttpReadsJson
- MethodNotAllowedException
- NotAcceptableException
- NotFoundException
- NotImplementedException
- PatchHttpTransport
- PaymentRequiredException
- PostHttpTransport
- PreconditionFailedException
- ProxyAuthenticationRequiredException
- PutHttpTransport
- Request
- RequestEntityTooLargeException
- RequestRangeNotSatisfiableException
- RequestTimeoutException
- RequestUriTooLongException
- Retries
- ServiceUnavailableException
- SessionKeys
- TooManyRequestException
- UnauthorizedException
- UnprocessableEntityException
- UnsupportedMediaTypeException
- Upstream4xxResponse
- Upstream5xxResponse
- UpstreamErrorResponse
- UrlValidationException

o

uk.gov.hmrc.http

# HttpReads 

###
Companion trait HttpReads

#### object HttpReads extends HttpReadsLegacyInstances

Linear Supertypes
HttpReadsLegacyInstances, HttpReadsLegacyJson, HttpReadsLegacyOption, HttpErrorFunctions, AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. HttpReads
2. HttpReadsLegacyInstances
3. HttpReadsLegacyJson
4. HttpReadsLegacyOption
5. HttpErrorFunctions
6. AnyRef
7. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### 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 apply[A](implicit arg0: HttpReads[A]): HttpReads[A]
5.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
6.  def ask: HttpReads[(String, String, HttpResponse)]
7.  def badGatewayMessage(verbName: String, url: String, e: Exception): String
   Definition Classes
     HttpErrorFunctions
8.  def badGatewayMessage(verbName: String, url: String, status: Int, responseBody: String): String
   Definition Classes
     HttpErrorFunctions
9.  def badRequestMessage(verbName: String, url: String, responseBody: String): String
   Definition Classes
     HttpErrorFunctions
10.  def clone(): AnyRef
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @native() @throws( ... )
11.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
12.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
13.  def finalize(): Unit
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
14.  def gatewayTimeoutMessage(verbName: String, url: String, e: Exception): String
    Definition Classes
      HttpErrorFunctions
15.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
16.  def handleResponseEither(httpMethod: String, url: String)(response: HttpResponse): Either[UpstreamErrorResponse, HttpResponse]
    Definition Classes
      HttpErrorFunctions
17.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
18.  def is2xx(status: Int): Boolean
    Definition Classes
      HttpErrorFunctions
19.  def is4xx(status: Int): Boolean
    Definition Classes
      HttpErrorFunctions
20.  def is5xx(status: Int): Boolean
    Definition Classes
      HttpErrorFunctions
21.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
22.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
23.  def notFoundMessage(verbName: String, url: String, responseBody: String): String
    Definition Classes
      HttpErrorFunctions
24.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
25.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
26.  def preconditionFailedMessage(verbName: String, url: String, responseBody: String): String
    Definition Classes
      HttpErrorFunctions
27.  def pure[A](a: A): HttpReads[A]
28.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
29.  def toString(): String
    Definition Classes
      AnyRef → Any
30.  def upstreamResponseMessage(verbName: String, url: String, status: Int, responseBody: String): String
    Definition Classes
      HttpErrorFunctions
31.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
32.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
33.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @native() @throws( ... )
34.  object Implicits extends HttpReadsInstances

### Deprecated Value Members

1.  def handleResponse(httpMethod: String, url: String)(response: HttpResponse): HttpResponse
   Definition Classes
     HttpErrorFunctions
   Annotations
     @deprecated
   Deprecated

     (Since version 11.0.0) Use handleReponseEither instead.

2.  implicit def readFromJson[O](implicit rds: Reads[O], mf: Manifest[O]): HttpReads[O]
   Definition Classes
     HttpReadsLegacyJson
   Annotations
     @deprecated
   Deprecated

     (Since version 11.0.0) Use uk.gov.hmrc.http.HttpReads.Implicits instead. See README for differences.

3.  implicit def readOptionOf[P](implicit rds: HttpReads[P]): HttpReads[Option[P]]
   Definition Classes
     HttpReadsLegacyOption
   Annotations
     @deprecated
   Deprecated

     (Since version 11.0.0) Use uk.gov.hmrc.http.HttpReads.Implicits instead. See README for differences.

4.  implicit val readRaw: HttpReads[HttpResponse]
   Annotations
     @deprecated
   Deprecated

     (Since version 11.0.0) Use uk.gov.hmrc.http.HttpReads.Implicits instead. See README for differences.

5.  def readSeqFromJsonProperty[O](name: String)(implicit rds: Reads[O], mf: Manifest[O]): HttpReads[Seq[O]]
   Definition Classes
     HttpReadsLegacyJson
   Annotations
     @deprecated
   Deprecated

     (Since version 11.0.0) Use uk.gov.hmrc.http.HttpReads.Implicits instead. See README for differences.

### Inherited from HttpReadsLegacyInstances

### Inherited from HttpReadsLegacyJson

### Inherited from HttpReadsLegacyOption

### Inherited from HttpErrorFunctions

### Inherited from AnyRef

### Inherited from Any

### Ungrouped