uk.gov.hmrc

# http

#### package http

Visibility

1. Public
2. All

### Type Members

1. #### class BadGatewayException extends HttpException

2. #### class BadRequestException extends HttpException

3. #### class ConflictException extends HttpException

4. #### trait CoreDelete extends AnyRef

5. #### trait CoreGet extends AnyRef

6. #### trait CorePatch extends AnyRef

7. #### trait CorePost extends AnyRef

8. #### trait CorePut extends AnyRef

9. #### trait DeleteHttpTransport extends AnyRef

10. #### class ExpectationFailedException extends HttpException

11. #### class FailedDependencyException extends HttpException

12. #### class ForbiddenException extends HttpException

13. #### class GatewayTimeoutException extends HttpException

14. #### trait GetHttpTransport extends AnyRef

15. #### class GoneException extends HttpException

16. #### case class HeaderCarrier(authorization: Option[Authorization] = None, userId: Option[UserId] = None, token: Option[Token] = 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 HeaderProvider with Product with Serializable

17. #### trait HeaderProvider extends AnyRef

18. #### trait HttpErrorFunctions extends AnyRef

19. #### class HttpException extends Exception

20. #### trait HttpReads[O] extends AnyRef

21. #### 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.

22. #### trait HttpTransport extends GetHttpTransport with DeleteHttpTransport with PatchHttpTransport with PutHttpTransport with PostHttpTransport

23. #### trait HttpVerbs extends AnyRef

    Standard HTTP Verbs

24. #### class HttpVersionNotSupportedException extends HttpException

25. #### class InsufficientStorageException extends HttpException

26. #### class InternalServerException extends HttpException

27. #### class JsValidationException extends Exception

28. #### trait JsonHttpReads extends HttpErrorFunctions

29. #### class LengthRequiredException extends HttpException

30. #### class LockedException extends HttpException

31. #### class MethodNotAllowedException extends HttpException

32. #### class NotAcceptableException extends HttpException

33. #### class NotFoundException extends HttpException

34. #### class NotImplementedException extends HttpException

35. #### trait OptionHttpReads extends HttpErrorFunctions

36. #### trait PatchHttpTransport extends AnyRef

37. #### class PaymentRequiredException extends HttpException

38. #### trait PostHttpTransport extends AnyRef

39. #### class PreconditionFailedException extends HttpException

40. #### class ProxyAuthenticationRequiredException extends HttpException

41. #### trait PutHttpTransport extends AnyRef

42. #### trait RawReads extends HttpErrorFunctions

43. #### trait Request extends AnyRef

44. #### class RequestEntityTooLargeException extends HttpException

45. #### class RequestRangeNotSatisfiableException extends HttpException

46. #### class RequestTimeoutException extends HttpException

47. #### class RequestUriTooLongException extends HttpException

48. #### class ServiceUnavailableException extends HttpException

49. #### final case class Token(value: String) extends AnyVal with Product with Serializable

50. #### class TooManyRequestException extends HttpException

51. #### class UnauthorizedException extends HttpException

52. #### class UnprocessableEntityException extends HttpException

53. #### class UnsupportedMediaTypeException extends HttpException

54. #### case class Upstream4xxResponse(message: String, upstreamResponseCode: Int, reportAs: Int, headers: Map[String, Seq[String]] = Map.empty) extends Exception with Product with Serializable

55. #### case class Upstream5xxResponse(message: String, upstreamResponseCode: Int, reportAs: Int) extends Exception with Product with Serializable

56. #### final case class UserId(value: String) extends AnyVal with Product with Serializable

57. #### class GatewayTimeout extends HttpException

    Annotations
      @deprecated
    Deprecated

      (Since version 0.1.0) use GatewayTimeoutException instead

### Value Members

1. #### object CookieNames

2. #### object HeaderNames

3. #### object HttpReads extends OptionHttpReads with JsonHttpReads

4. #### object HttpResponse

5. #### object HttpVerbs extends HttpVerbs

6. #### object RawReads extends RawReads

7. #### object SessionKeys

8. #### package controllers

9. #### package hooks

10. #### package logging

### Ungrouped