Class/Object

com.twitter.finagle.http

RequestBuilder

Related Docs: object RequestBuilder | package http

Permalink

class RequestBuilder[HasUrl, HasForm] extends AnyRef

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RequestBuilder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type This = RequestBuilder[HasUrl, HasForm]

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def add(elems: Seq[FormElement]): RequestBuilder[HasUrl, Yes]

    Permalink
  5. def add(elem: FormElement): RequestBuilder[HasUrl, Yes]

    Permalink
  6. def addFormElement(kv: (String, String)*): RequestBuilder[HasUrl, Yes]

    Permalink
  7. def addHeader(name: String, value: String): This

    Permalink

    Add a new header with the specified name and value.

  8. def addHeaders(headers: Map[String, String]): This

    Permalink

    Add group of headers expressed as a Map

  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def build(method: Method, content: Option[Buf])(implicit HTTP_REQUEST_BUILDER_IS_NOT_FULLY_SPECIFIED: RequestEvidence[HasUrl, HasForm]): Request

    Permalink

    Construct an HTTP request with a specified method.

  11. def buildDelete()(implicit HTTP_REQUEST_BUILDER_IS_NOT_FULLY_SPECIFIED: RequestEvidence[HasUrl, HasForm]): Request

    Permalink

    Construct an HTTP DELETE request.

  12. def buildFormPost(multipart: Boolean = false)(implicit HTTP_REQUEST_BUILDER_IS_NOT_FULLY_SPECIFIED: PostRequestEvidence[HasUrl, HasForm]): Request

    Permalink

    Construct a form post request.

  13. def buildGet()(implicit HTTP_REQUEST_BUILDER_IS_NOT_FULLY_SPECIFIED: RequestEvidence[HasUrl, HasForm]): Request

    Permalink

    Construct an HTTP GET request.

  14. def buildHead()(implicit HTTP_REQUEST_BUILDER_IS_NOT_FULLY_SPECIFIED: RequestEvidence[HasUrl, HasForm]): Request

    Permalink

    Construct an HTTP HEAD request.

  15. def buildPost(content: Buf)(implicit HTTP_REQUEST_BUILDER_IS_NOT_FULLY_SPECIFIED: RequestEvidence[HasUrl, HasForm]): Request

    Permalink

    Construct an HTTP POST request.

  16. def buildPut(content: Buf)(implicit HTTP_REQUEST_BUILDER_IS_NOT_FULLY_SPECIFIED: RequestEvidence[HasUrl, HasForm]): Request

    Permalink

    Construct an HTTP PUT request.

  17. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. def http10(): This

    Permalink

    Declare the HTTP protocol version be HTTP/1.0

  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. def proxied(credentials: Option[ProxyCredentials]): This

    Permalink

    Declare the request will be proxied.

    Declare the request will be proxied. Results in using the absolute URI in the request line and optionally setting the Proxy-Authorization header using the provided {{ProxyCredentials}}.

  29. def proxied(credentials: ProxyCredentials): This

    Permalink

    Declare the request will be proxied.

    Declare the request will be proxied. Results in using the absolute URI in the request line and setting the Proxy-Authorization header using the provided {{ProxyCredentials}}.

  30. def proxied(): This

    Permalink

    Declare the request will be proxied.

    Declare the request will be proxied. Results in using the absolute URI in the request line.

  31. def setHeader(name: String, values: Iterable[String]): This

    Permalink

    Set a new header with the specified name and values.

    Set a new header with the specified name and values.

    Java convenience variant.

  32. def setHeader(name: String, values: Seq[String]): This

    Permalink

    Set a new header with the specified name and values.

  33. def setHeader(name: String, value: String): This

    Permalink

    Set a new header with the specified name and value.

  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  35. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  36. def url(u: URL): RequestBuilder[Yes, HasForm]

    Permalink

    Specify the url to request.

    Specify the url to request. Sets the HOST header and possibly the Authorization header using the authority portion of the URL.

  37. def url(u: String): RequestBuilder[Yes, HasForm]

    Permalink
  38. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped