package http
- Alphabetic
- By Inheritance
- http
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- final case class AkamaiReputation(value: String) extends AnyVal with Product with Serializable
- final case class Authorization(value: String) extends AnyVal with Product with Serializable
- class BadGatewayException extends HttpException
- class BadRequestException extends HttpException
- class ConflictException extends HttpException
- trait CoreDelete extends AnyRef
- trait CoreGet extends AnyRef
- trait CorePatch extends AnyRef
- trait CorePost extends AnyRef
- trait CorePut extends AnyRef
- trait DeleteHttpTransport extends AnyRef
- class ExpectationFailedException extends HttpException
- class FailedDependencyException extends HttpException
- class ForbiddenException extends HttpException
- final case class ForwardedFor(value: String) extends AnyVal with Product with Serializable
- class GatewayTimeoutException extends HttpException
- trait GetHttpTransport extends AnyRef
- class GoneException extends HttpException
- 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
- trait HttpClient extends HttpGet with HttpPut with HttpPost with HttpDelete with HttpPatch
- trait HttpDelete extends CoreDelete with DeleteHttpTransport with HttpVerb with ConnectionTracing with HttpHooks with Retries
- trait HttpErrorFunctions extends AnyRef
-
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.
- trait HttpGet extends CoreGet with GetHttpTransport with HttpVerb with ConnectionTracing with HttpHooks with Retries
- trait HttpPatch extends CorePatch with PatchHttpTransport with HttpVerb with ConnectionTracing with HttpHooks with Retries
- trait HttpPost extends CorePost with PostHttpTransport with HttpVerb with ConnectionTracing with HttpHooks with Retries
- trait HttpPut extends CorePut with PutHttpTransport with HttpVerb with ConnectionTracing with HttpHooks with Retries
- trait HttpReads[A] extends AnyRef
- trait HttpReadsEither extends AnyRef
- trait HttpReadsHttpResponse extends AnyRef
- trait HttpReadsInstances extends HttpReadsHttpResponse with HttpReadsEither with HttpReadsTry with HttpReadsOption with HttpReadsJson with LowPriorityHttpReadsJson
- trait HttpReadsJson extends AnyRef
- trait HttpReadsLegacyInstances extends HttpReadsLegacyOption with HttpReadsLegacyJson
- trait HttpReadsLegacyJson extends HttpErrorFunctions
- trait HttpReadsLegacyOption extends HttpErrorFunctions
- trait HttpReadsLegacyRawReads extends HttpErrorFunctions
- trait HttpReadsOption extends AnyRef
- trait HttpReadsTry extends AnyRef
-
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.
- trait HttpTransport extends GetHttpTransport with DeleteHttpTransport with PatchHttpTransport with PutHttpTransport with PostHttpTransport
- trait HttpVerb extends Request
-
trait
HttpVerbs extends AnyRef
Standard HTTP Verbs
- class HttpVersionNotSupportedException extends HttpException
- class InsufficientStorageException extends HttpException
- class InternalServerException extends HttpException
- class JsValidationException extends Exception
- class LengthRequiredException extends HttpException
- class LockedException extends HttpException
- trait LowPriorityHttpReadsJson extends AnyRef
- class MethodNotAllowedException extends HttpException
- class NotAcceptableException extends HttpException
- class NotFoundException extends HttpException
- class NotImplementedException extends HttpException
- trait PatchHttpTransport extends AnyRef
- class PaymentRequiredException extends HttpException
- trait PostHttpTransport extends AnyRef
- class PreconditionFailedException extends HttpException
- class ProxyAuthenticationRequiredException extends HttpException
- trait PutHttpTransport extends AnyRef
- trait Request extends AnyRef
- final case class RequestChain(value: String) extends AnyVal with Product with Serializable
- class RequestEntityTooLargeException extends HttpException
- final case class RequestId(value: String) extends AnyVal with Product with Serializable
- class RequestRangeNotSatisfiableException extends HttpException
- class RequestTimeoutException extends HttpException
- class RequestUriTooLongException extends HttpException
- trait Retries extends AnyRef
- class ServiceUnavailableException extends HttpException
- final case class SessionId(value: String) extends AnyVal with Product with Serializable
- implicit final class StringContextOps extends AnyVal
- class TooManyRequestException extends HttpException
- class UnauthorizedException extends HttpException
- class UnprocessableEntityException extends HttpException
- class UnsupportedMediaTypeException extends HttpException
-
sealed
trait
UpstreamErrorResponse extends Exception
Represent unhandled status codes returned from upstream
- class UrlValidationException extends Exception
-
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.
-
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
- object CookieNames
- object HeaderCarrier extends Serializable
- object HeaderNames
- object HttpErrorFunctions extends HttpErrorFunctions
- object HttpReads extends HttpReadsLegacyInstances
- object HttpReadsInstances extends HttpReadsInstances
- object HttpReadsLegacyRawReads extends HttpReadsLegacyRawReads
- object HttpResponse
- object HttpVerbs extends HttpVerbs
- object RequestChain extends Serializable
- object SessionKeys
- object UpstreamErrorResponse extends Serializable