< 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
-  package hooks
-  package logging
- AkamaiReputation
- Authorization
- BadGatewayException
- BadRequestException
- ConflictException
- CookieNames
- CoreDelete
- CoreGet
- CorePatch
- CorePost
- CorePut
- DeleteHttpTransport
- ExpectationFailedException
- FailedDependencyException
- ForbiddenException
- ForwardedFor
- GatewayTimeoutException
- GetHttpTransport
- GoneException
- HeaderCarrier
- HeaderNames
- 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
- RequestChain
- RequestEntityTooLargeException
- RequestId
- RequestRangeNotSatisfiableException
- RequestTimeoutException
- RequestUriTooLongException
- Retries
- ServiceUnavailableException
- SessionId
- SessionKeys
- StringContextOps
- TooManyRequestException
- UnauthorizedException
- UnprocessableEntityException
- UnsupportedMediaTypeException
- Upstream4xxResponse
- Upstream5xxResponse
- UpstreamErrorResponse
- UrlValidationException
-  package play
  Definition Classes
    hmrc

p

uk.gov.hmrc

# http 

#### package http

Linear Supertypes
AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. http
2. AnyRef
3. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Type Members

1.  final case class AkamaiReputation(value: String) extends AnyVal with Product with Serializable
2.  final case class Authorization(value: String) extends AnyVal with Product with Serializable
3.  class BadGatewayException extends HttpException
4.  class BadRequestException extends HttpException
5.  class ConflictException extends HttpException
6.  trait CoreDelete extends AnyRef
7.  trait CoreGet extends AnyRef
8.  trait CorePatch extends AnyRef
9.  trait CorePost extends AnyRef
10.  trait CorePut extends AnyRef
11.  trait DeleteHttpTransport extends AnyRef
12.  class ExpectationFailedException extends HttpException
13.  class FailedDependencyException extends HttpException
14.  class ForbiddenException extends HttpException
15.  final case class ForwardedFor(value: String) extends AnyVal with Product with Serializable
16.  class GatewayTimeoutException extends HttpException
17.  trait GetHttpTransport extends AnyRef
18.  class GoneException extends HttpException
19.  case class HeaderCarrier(authorization: Option[Authorization] = None, forwarded: Option[ForwardedFor] = None, sessionId: Option[SessionId] = None, requestId: Option[RequestId] = None, requestChain: RequestChain = RequestChain.init, nsStamp: Long = System.nanoTime(), extraHeaders: Seq[(String, String)] = Seq(), trueClientIp: Option[String] = None, trueClientPort: Option[String] = None, gaToken: Option[String] = None, gaUserId: Option[String] = None, deviceID: Option[String] = None, akamaiReputation: Option[AkamaiReputation] = None, otherHeaders: Seq[(String, String)] = Seq()) extends LoggingDetails with Product with Serializable
20.  trait HttpClient extends HttpGet with HttpPut with HttpPost with HttpDelete with HttpPatch
21.  trait HttpDelete extends CoreDelete with DeleteHttpTransport with HttpVerb with ConnectionTracing with HttpHooks with Retries
22.  trait HttpErrorFunctions extends AnyRef
23.  class HttpException extends Exception

    Represents an error occuring within the service itself.

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

24.  trait HttpGet extends CoreGet with GetHttpTransport with HttpVerb with ConnectionTracing with HttpHooks with Retries
25.  trait HttpPatch extends CorePatch with PatchHttpTransport with HttpVerb with ConnectionTracing with HttpHooks with Retries
26.  trait HttpPost extends CorePost with PostHttpTransport with HttpVerb with ConnectionTracing with HttpHooks with Retries
27.  trait HttpPut extends CorePut with PutHttpTransport with HttpVerb with ConnectionTracing with HttpHooks with Retries
28.  trait HttpReads[A] extends AnyRef
29.  trait HttpReadsEither extends AnyRef
30.  trait HttpReadsHttpResponse extends AnyRef
31.  trait HttpReadsInstances extends HttpReadsHttpResponse with HttpReadsEither with HttpReadsTry with HttpReadsOption with HttpReadsJson with LowPriorityHttpReadsJson
32.  trait HttpReadsJson extends AnyRef
33.  trait HttpReadsLegacyInstances extends HttpReadsLegacyOption with HttpReadsLegacyJson
34.  trait HttpReadsLegacyJson extends HttpErrorFunctions
35.  trait HttpReadsLegacyOption extends HttpErrorFunctions
36.  trait HttpReadsLegacyRawReads extends HttpErrorFunctions
37.  trait HttpReadsOption extends AnyRef
38.  trait HttpReadsTry extends AnyRef
39.  trait HttpResponse extends AnyRef

    The ws.Response class is very hard to dummy up as it wraps a concrete instance of the ning http Response.

    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.

40.  trait HttpTransport extends GetHttpTransport with DeleteHttpTransport with PatchHttpTransport with PutHttpTransport with PostHttpTransport
41.  trait HttpVerb extends Request
42.  trait HttpVerbs extends AnyRef

    Standard HTTP Verbs

43.  class HttpVersionNotSupportedException extends HttpException
44.  class InsufficientStorageException extends HttpException
45.  class InternalServerException extends HttpException
46.  class JsValidationException extends Exception
47.  class LengthRequiredException extends HttpException
48.  class LockedException extends HttpException
49.  trait LowPriorityHttpReadsJson extends AnyRef
50.  class MethodNotAllowedException extends HttpException
51.  class NotAcceptableException extends HttpException
52.  class NotFoundException extends HttpException
53.  class NotImplementedException extends HttpException
54.  trait PatchHttpTransport extends AnyRef
55.  class PaymentRequiredException extends HttpException
56.  trait PostHttpTransport extends AnyRef
57.  class PreconditionFailedException extends HttpException
58.  class ProxyAuthenticationRequiredException extends HttpException
59.  trait PutHttpTransport extends AnyRef
60.  trait Request extends AnyRef
61.  final case class RequestChain(value: String) extends AnyVal with Product with Serializable
62.  class RequestEntityTooLargeException extends HttpException
63.  final case class RequestId(value: String) extends AnyVal with Product with Serializable
64.  class RequestRangeNotSatisfiableException extends HttpException
65.  class RequestTimeoutException extends HttpException
66.  class RequestUriTooLongException extends HttpException
67.  trait Retries extends AnyRef
68.  class ServiceUnavailableException extends HttpException
69.  final case class SessionId(value: String) extends AnyVal with Product with Serializable
70.  implicit class StringContextOps extends AnyRef
71.  class TooManyRequestException extends HttpException
72.  class UnauthorizedException extends HttpException
73.  class UnprocessableEntityException extends HttpException
74.  class UnsupportedMediaTypeException extends HttpException
75.  sealed trait UpstreamErrorResponse extends Exception

    Represent unhandled status codes returned from upstream

76.  class UrlValidationException extends Exception
77.  case class Upstream4xxResponse(message: String, upstreamResponseCode: Int, reportAs: Int, headers: Map[String, Seq[String]] = Map.empty) extends Exception with UpstreamErrorResponse with Product with Serializable
    Annotations
      @deprecated
    Deprecated

      (Since version 11.0.0) Use UpstreamErrorResponse.apply or UpstreamErrorResponse.Upstream4xxResponse.unapply instead.

78.  case class Upstream5xxResponse(message: String, upstreamResponseCode: Int, reportAs: Int, headers: Map[String, Seq[String]] = Map.empty) extends Exception with UpstreamErrorResponse with Product with Serializable
    Annotations
      @deprecated
    Deprecated

      (Since version 11.0.0) Use UpstreamErrorResponse.apply or UpstreamErrorResponse.Upstream5xxResponse.unapply instead.

### Value Members

1.  object CookieNames
2.  object HeaderCarrier extends Serializable
3.  object HeaderNames
4.  object HttpErrorFunctions extends HttpErrorFunctions
5.  object HttpReads extends HttpReadsLegacyInstances
6.  object HttpReadsInstances extends HttpReadsInstances
7.  object HttpReadsLegacyRawReads extends HttpReadsLegacyRawReads
8.  object HttpResponse
9.  object HttpVerbs extends HttpVerbs
10.  object RequestChain extends Serializable
11.  object SessionKeys
12.  object UpstreamErrorResponse extends Serializable

### Inherited from AnyRef

### Inherited from Any

### Ungrouped