HttpPost

uk.gov.hmrc.http.HttpPost

Attributes

Deprecated
true
Graph
Supertypes
trait Retries
trait HttpHooks
trait HttpVerb
trait Request
trait CorePost
class Object
trait Matchable
class Any
Show all
Known subtypes
trait HttpClient

Members list

Value members

Concrete methods

override def POST[I, O](url: String, body: I, headers: Seq[(String, String)])(implicit wts: Writes[I], rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]

Attributes

Definition Classes
override def POSTEmpty[O](url: String, headers: Seq[(String, String)])(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]

Attributes

Definition Classes
override def POSTForm[O](url: String, body: Map[String, Seq[String]], headers: Seq[(String, String)])(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]

Attributes

Definition Classes
override def POSTString[O](url: String, body: String, headers: Seq[(String, String)])(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]

Attributes

Definition Classes

Inherited methods

def POST[I, O](url: URL, body: I, headers: Seq[(String, String)])(implicit wts: Writes[I], rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]

Attributes

Inherited from:
CorePost
final def POST[I, O](url: URL, body: I)(implicit wts: Writes[I], rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]

Attributes

Inherited from:
CorePost
def POSTEmpty[O](url: URL, headers: Seq[(String, String)])(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]

Attributes

Inherited from:
CorePost
final def POSTEmpty[O](url: URL)(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]

Attributes

Inherited from:
CorePost
def POSTForm[O](url: URL, body: Map[String, Seq[String]], headers: Seq[(String, String)])(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]

Attributes

Inherited from:
CorePost
final def POSTForm[O](url: URL, body: Map[String, Seq[String]])(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]

Attributes

Inherited from:
CorePost
def POSTString[O](url: URL, body: String, headers: Seq[(String, String)])(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]

Attributes

Inherited from:
CorePost
final def POSTString[O](url: URL, body: String)(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]

Attributes

Inherited from:
CorePost
protected def actorSystem: ActorSystem

Attributes

Inherited from:
Retries
def badGatewayMessage(verbName: String, url: String, e: Exception): String

Attributes

Inherited from:
HttpVerb
protected def configuration: Config

Attributes

Inherited from:
Retries
def doEmptyPost[A](url: String, headers: Seq[(String, String)])(implicit ec: ExecutionContext): Future[HttpResponse]

Attributes

Inherited from:
PostHttpTransport
def doFormPost(url: String, body: Map[String, Seq[String]], headers: Seq[(String, String)])(implicit ec: ExecutionContext): Future[HttpResponse]

Attributes

Inherited from:
PostHttpTransport
def doPost[A](url: String, body: A, headers: Seq[(String, String)])(implicit wts: Writes[A], ec: ExecutionContext): Future[HttpResponse]

Attributes

Inherited from:
PostHttpTransport
def doPostString(url: String, body: String, headers: Seq[(String, String)])(implicit ec: ExecutionContext): Future[HttpResponse]

Attributes

Inherited from:
PostHttpTransport
protected def executeHooks(verb: String, url: URL, request: RequestData, responseF: Future[ResponseData])(implicit hc: HeaderCarrier, ec: ExecutionContext): Unit

Attributes

Inherited from:
HttpHooks
def formatMessage(ld: LoggingDetails, method: String, uri: String, startAge: Long, message: String): String

Attributes

Inherited from:
ConnectionTracing
def gatewayTimeoutMessage(verbName: String, url: String, e: Exception): String

Attributes

Inherited from:
HttpVerb
def logResult[A](ld: LoggingDetails, method: String, uri: String, startAge: Long)(result: Try[A]): Unit

Attributes

Inherited from:
ConnectionTracing
def mapErrors(httpMethod: String, url: String, f: Future[HttpResponse])(implicit ec: ExecutionContext): Future[HttpResponse]

Attributes

Inherited from:
HttpVerb
def retryFor[A](label: String)(condition: PartialFunction[Exception, Boolean])(block: => Future[A])(implicit ec: ExecutionContext): Future[A]

Attributes

Inherited from:
Retries
def retryOnSslEngineClosed[A](verb: String, url: String)(block: => Future[A])(implicit ec: ExecutionContext): Future[A]

Attributes

Inherited from:
Retries
def withTracing[T](method: String, uri: String)(body: => Future[T])(implicit ld: LoggingDetails, ec: ExecutionContext): Future[T]

Attributes

Inherited from:
ConnectionTracing

Deprecated and Inherited methods

def retry[A](verb: String, url: String)(block: => Future[A])(implicit ec: ExecutionContext): Future[A]

Attributes

Deprecated
true
Inherited from:
Retries

Inherited fields

val NoneRequired: Seq[Nothing]

Attributes

Inherited from:
HttpHooks
lazy val connectionLogger: Logger

Attributes

Inherited from:
ConnectionTracing
val hooks: Seq[HttpHook]

Attributes

Inherited from:
HttpHooks