Type Members
-
case class
HttpRequest(url: String, verb: String, body: Option[_], generatedAt: DateTime) extends Product with Serializable
-
type
ProcessingFunction = (Future[HttpResponse], String) ⇒ Future[HttpResponse]
Abstract Value Members
-
abstract
def
appName: String
-
abstract
def
auditConnector: AuditConnector
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
-
def
GET[A](url: String)(implicit rds: HttpReads[A], hc: HeaderCarrier): Future[A]
-
def
POST[A](url: String, body: A, responseHandler: ProcessingFunction, headers: Seq[(String, String)] = Seq.empty)(implicit rds: Writes[A], hc: HeaderCarrier): Future[HttpResponse]
-
def
POST[A](url: String, body: A)(implicit rds: Writes[A], hc: HeaderCarrier): Future[HttpResponse]
-
def
POSTEmpty(url: String)(implicit hc: HeaderCarrier): Future[HttpResponse]
-
def
POSTForm(url: String, body: Map[String, Seq[String]], responseHandler: ProcessingFunction)(implicit hc: HeaderCarrier): Future[HttpResponse]
-
def
POSTForm(url: String, body: Map[String, Seq[String]])(implicit hc: HeaderCarrier): Future[HttpResponse]
-
def
POSTString(url: String, body: String, responseHandler: ProcessingFunction, headers: Seq[(String, String)] = Seq.empty, auditRequestBody: Boolean = true, auditResponseBody: Boolean = true)(implicit hc: HeaderCarrier): Future[HttpResponse]
-
def
POSTString(url: String, body: String, headers: Seq[(String, String)])(implicit hc: HeaderCarrier): Future[HttpResponse]
-
def
PUT[A](url: String, body: A, responseHandler: ProcessingFunction, auditRequestBody: Boolean = true, auditResponseBody: Boolean = true)(implicit rds: Writes[A], hc: HeaderCarrier): Future[HttpResponse]
-
def
PUT[A](url: String, body: A, auditRequestBody: Boolean, auditResponseBody: Boolean)(implicit rds: Writes[A], hc: HeaderCarrier): Future[HttpResponse]
-
def
PUT[A](url: String, body: A)(implicit rds: Writes[A], hc: HeaderCarrier): Future[HttpResponse]
-
final
def
asInstanceOf[T0]: T0
-
def
auditDisabledForPattern: Regex
-
def
auditFromPlayFrontend(url: String, response: HttpResponse, hc: HeaderCarrier): Unit
-
def
auditRequestWithResponseF(url: String, verb: String, body: Option[_], responseToAuditF: Future[HttpResponse])(implicit hc: HeaderCarrier): Unit
-
def
badGatewayMessage(verbName: String, url: String, e: Exception): String
-
def
badGatewayMessage(verbName: String, url: String, status: Int, responseBody: String): String
-
def
badRequestMessage(verbName: String, url: String, responseBody: String): String
-
def
buildRequest[A](url: String)(implicit hc: HeaderCarrier): WSRequestHolder
-
def
clone(): AnyRef
-
lazy val
connectionLogger: Logger
-
def
daysBetween(start: LocalDate, end: LocalDate): Int
-
-
def
doEmptyPost[A](url: String)(implicit hc: HeaderCarrier): Future[HttpResponse]
-
def
doFormPost(url: String, body: Map[String, Seq[String]])(implicit hc: HeaderCarrier): Future[HttpResponse]
-
-
def
doPost[A](url: String, body: A, headers: Seq[(String, String)])(implicit rds: Writes[A], hc: HeaderCarrier): Future[HttpResponse]
-
def
doPostString(url: String, body: String, headers: Seq[(String, String)])(implicit hc: HeaderCarrier): Future[HttpResponse]
-
def
doPut[A](url: String, body: A)(implicit rds: Writes[A], hc: HeaderCarrier): Future[HttpResponse]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
formatMessage(ld: LoggingDetails, method: String, uri: String, startAge: Long, message: String): String
-
def
gatewayTimeoutMessage(verbName: String, url: String, e: Exception): String
-
final
def
getClass(): Class[_]
-
def
handleResponse(httpMethod: String, url: String)(response: HttpResponse): HttpResponse
-
def
hashCode(): Int
-
def
is2xx(status: Int): Boolean
-
def
is4xx(status: Int): Boolean
-
def
is5xx(status: Int): Boolean
-
def
isEqualOrAfter(date: LocalDate, laterDate: LocalDate): Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
def
logResult[A](ld: LoggingDetails, method: String, uri: String, startAge: Long)(result: Try[A]): Unit
-
def
mapErrors(httpMethod: String, url: String, f: Future[HttpResponse]): Future[HttpResponse]
-
final
def
ne(arg0: AnyRef): Boolean
-
def
notFoundMessage(verbName: String, url: String, responseBody: String): String
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
now: DateTime
-
def
preconditionFailedMessage(verbName: String, url: String, responseBody: String): String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
upstreamResponseMessage(verbName: String, url: String, status: Int, responseBody: String): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
withTracing[T](method: String, uri: String)(body: ⇒ Future[T])(implicit ld: LoggingDetails): Future[T]
Inherited from DateTimeUtils
Inherited from AnyRef
Inherited from Any