com.twitter.finagle.http

RequestBuilder

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
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type This = RequestBuilder[HasUrl, HasForm]

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def add(elems: Seq[FormElement]): RequestBuilder[HasUrl, Yes]

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

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

  9. def addHeader(name: String, value: String): This

    Add a new header with the specified name and value.

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

    Add group of headers expressed as a Map

  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def build(method: HttpMethod, content: Option[ChannelBuffer])(implicit HTTP_REQUEST_BUILDER_IS_NOT_FULLY_SPECIFIED: RequestEvidence[HasUrl, HasForm]): HttpRequest

    Construct an HTTP request with a specified method.

  13. def buildDelete()(implicit HTTP_REQUEST_BUILDER_IS_NOT_FULLY_SPECIFIED: RequestEvidence[HasUrl, HasForm]): HttpRequest

    Construct an HTTP DELETE request.

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

    Construct a form post request.

  15. def buildGet()(implicit HTTP_REQUEST_BUILDER_IS_NOT_FULLY_SPECIFIED: RequestEvidence[HasUrl, HasForm]): HttpRequest

    Construct an HTTP GET request.

  16. def buildHead()(implicit HTTP_REQUEST_BUILDER_IS_NOT_FULLY_SPECIFIED: RequestEvidence[HasUrl, HasForm]): HttpRequest

    Construct an HTTP HEAD request.

  17. def buildPost(content: ChannelBuffer)(implicit HTTP_REQUEST_BUILDER_IS_NOT_FULLY_SPECIFIED: RequestEvidence[HasUrl, HasForm]): HttpRequest

    Construct an HTTP POST request.

  18. def buildPut(content: ChannelBuffer)(implicit HTTP_REQUEST_BUILDER_IS_NOT_FULLY_SPECIFIED: RequestEvidence[HasUrl, HasForm]): HttpRequest

    Construct an HTTP PUT request.

  19. def clone(): AnyRef

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

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

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

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

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

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

    Declare the HTTP protocol version be HTTP/1.

    Declare the HTTP protocol version be HTTP/1.0

  26. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

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

    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}}.

  31. def proxied(credentials: ProxyCredentials): This

    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}}.

  32. def proxied(): This

    Declare the request will be proxied.

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

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

    Set a new header with the specified name and values.

    Set a new header with the specified name and values.

    Java convenience variant.

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

    Set a new header with the specified name and values.

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

    Set a new header with the specified name and value.

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

    Definition Classes
    AnyRef
  37. def toString(): String

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

    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.

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

  40. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped