Class/Object

com.twitter.finatra.httpclient

RequestBuilder

Related Docs: object RequestBuilder | package httpclient

Permalink

class RequestBuilder extends RequestProxy

RequestBuilder is a finagle.http.Request with a builder API for common mutations

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RequestBuilder
  2. RequestProxy
  3. Request
  4. Message
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RequestBuilder(request: Request)

    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 accept: Seq[String]

    Permalink
    Definition Classes
    Message
  5. def acceptMediaTypes: Seq[String]

    Permalink
    Definition Classes
    Message
  6. def accept_=(values: Iterable[String]): Unit

    Permalink
    Definition Classes
    Message
  7. def accept_=(value: String): Unit

    Permalink
    Definition Classes
    Message
  8. def addCookie(cookie: Cookie): Unit

    Permalink
    Definition Classes
    Message
  9. def allow: Option[String]

    Permalink
    Definition Classes
    Message
  10. def allow_=(values: Iterable[Method]): Unit

    Permalink
    Definition Classes
    Message
  11. def allow_=(value: String): Unit

    Permalink
    Definition Classes
    Message
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def authorization: Option[String]

    Permalink
    Definition Classes
    Message
  14. def authorization_=(value: String): Unit

    Permalink
    Definition Classes
    Message
  15. def body(string: String, contentType: String = Message.ContentTypeJson): RequestBuilder

    Permalink
  16. def bodyFromResource(resource: String, contentType: String = Message.ContentTypeJson): RequestBuilder

    Permalink
  17. def cacheControl: Option[String]

    Permalink
    Definition Classes
    Message
  18. def cacheControl_=(maxAge: Duration): Unit

    Permalink
    Definition Classes
    Message
  19. def cacheControl_=(value: String): Unit

    Permalink
    Definition Classes
    Message
  20. def charset: Option[String]

    Permalink
    Definition Classes
    Message
  21. def charset_=(value: String): Unit

    Permalink
    Definition Classes
    Message
  22. def chunked: RequestBuilder

    Permalink
  23. def clearContent(): Unit

    Permalink
    Definition Classes
    Message
  24. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. def close(): Future[Unit]

    Permalink
    Definition Classes
    Message
  26. def containsParam(name: String): Boolean

    Permalink
    Definition Classes
    Request
  27. def content: Buf

    Permalink
    Definition Classes
    Message
  28. def contentLength: Option[Long]

    Permalink
    Definition Classes
    Message
  29. def contentLength_=(value: Long): Unit

    Permalink
    Definition Classes
    Message
  30. def contentString: String

    Permalink
    Definition Classes
    Message
  31. def contentString_=(value: String): Unit

    Permalink
    Definition Classes
    Message
  32. def contentType: Option[String]

    Permalink
    Definition Classes
    Message
  33. def contentType_=(value: String): Unit

    Permalink
    Definition Classes
    Message
  34. def content_=(content: Buf): Unit

    Permalink
    Definition Classes
    Message
  35. lazy val cookies: CookieMap

    Permalink
    Definition Classes
    Message
  36. def ctx: Record

    Permalink
    Definition Classes
    RequestProxy → Request
  37. def date: Option[String]

    Permalink
    Definition Classes
    Message
  38. def date_=(value: Date): Unit

    Permalink
    Definition Classes
    Message
  39. def date_=(value: String): Unit

    Permalink
    Definition Classes
    Message
  40. def encodeBytes(): Array[Byte]

    Permalink
    Definition Classes
    Request
  41. def encodeString(): String

    Permalink
    Definition Classes
    Request
  42. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  44. def expires: Option[String]

    Permalink
    Definition Classes
    Message
  45. def expires_=(value: Date): Unit

    Permalink
    Definition Classes
    Message
  46. def expires_=(value: String): Unit

    Permalink
    Definition Classes
    Message
  47. def fileExtension: String

    Permalink
    Definition Classes
    Request
    Annotations
    @BeanProperty()
  48. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  49. def getBooleanParam(name: String, default: Boolean): Boolean

    Permalink
    Definition Classes
    Request
  50. def getBooleanParam(name: String): Boolean

    Permalink
    Definition Classes
    Request
  51. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  52. def getContent(): ChannelBuffer

    Permalink
    Attributes
    protected[com.twitter.finagle]
    Definition Classes
    Message
  53. def getContentString(): String

    Permalink
    Definition Classes
    Message
  54. def getCookies(): Iterator[Cookie]

    Permalink
    Definition Classes
    Message
  55. def getHttpRequest(): HttpRequest

    Permalink
    Attributes
    protected[com.twitter.finagle]
    Definition Classes
    Request
  56. def getInputStream(): InputStream

    Permalink
    Definition Classes
    Message
  57. def getIntParam(name: String, default: Int): Int

    Permalink
    Definition Classes
    Request
  58. def getIntParam(name: String): Int

    Permalink
    Definition Classes
    Request
  59. def getLength(): Int

    Permalink
    Definition Classes
    Message
  60. def getLongParam(name: String, default: Long): Long

    Permalink
    Definition Classes
    Request
  61. def getLongParam(name: String): Long

    Permalink
    Definition Classes
    Request
  62. def getMethod(): HttpMethod

    Permalink
    Attributes
    protected[com.twitter.finagle]
    Definition Classes
    Request
  63. def getParam(name: String, default: String): String

    Permalink
    Definition Classes
    Request
  64. def getParam(name: String): String

    Permalink
    Definition Classes
    Request
  65. def getParamNames(): Set[String]

    Permalink
    Definition Classes
    Request
  66. def getParams(): List[Entry[String, String]]

    Permalink
    Definition Classes
    Request
  67. def getParams(name: String): List[String]

    Permalink
    Definition Classes
    Request
  68. def getReader(): Reader

    Permalink
    Definition Classes
    Message
  69. def getResponse(): Response

    Permalink
    Definition Classes
    Request
  70. def getShortParam(name: String, default: Short): Short

    Permalink
    Definition Classes
    Request
  71. def getShortParam(name: String): Short

    Permalink
    Definition Classes
    Request
  72. def getUri(): String

    Permalink
    Attributes
    protected[com.twitter.finagle]
    Definition Classes
    Request
  73. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  74. def header(key: String, value: AnyRef): RequestBuilder

    Permalink
  75. lazy val headerMap: HeaderMap

    Permalink
    Definition Classes
    Message
  76. def headers(elems: Iterable[(String, String)]): RequestBuilder

    Permalink
  77. def headers(elems: (String, String)*): RequestBuilder

    Permalink
  78. def headers(headers: Map[String, String]): RequestBuilder

    Permalink
  79. def headers(): HttpHeaders

    Permalink
    Attributes
    protected[com.twitter.finagle]
    Definition Classes
    Message
  80. def host: Option[String]

    Permalink
    Definition Classes
    Message
  81. def host_=(value: String): Unit

    Permalink
    Definition Classes
    Message
  82. def httpMessage: HttpMessage

    Permalink
    Attributes
    protected[com.twitter.finagle]
    Definition Classes
    Request → Message
  83. def httpRequest: HttpRequest

    Permalink
    Attributes
    protected[com.twitter.finagle]
    Definition Classes
    RequestProxy → Request
  84. def isChunked: Boolean

    Permalink
    Definition Classes
    Message
  85. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  86. def isRequest: Boolean

    Permalink
    Definition Classes
    Request → Message
  87. def isResponse: Boolean

    Permalink
    Definition Classes
    Message
  88. def isXmlHttpRequest: Boolean

    Permalink
    Definition Classes
    Message
  89. def lastModified: Option[String]

    Permalink
    Definition Classes
    Message
  90. def lastModified_=(value: Date): Unit

    Permalink
    Definition Classes
    Message
  91. def lastModified_=(value: String): Unit

    Permalink
    Definition Classes
    Message
  92. def length: Int

    Permalink
    Definition Classes
    Message
  93. def location: Option[String]

    Permalink
    Definition Classes
    Message
  94. def location_=(value: String): Unit

    Permalink
    Definition Classes
    Message
  95. def mediaType: Option[String]

    Permalink
    Definition Classes
    Message
  96. def mediaType_=(value: String): Unit

    Permalink
    Definition Classes
    Message
  97. def method: Method

    Permalink
    Definition Classes
    Request
  98. def method_=(method: Method): Unit

    Permalink
    Definition Classes
    Request
  99. def multipart: Option[Multipart]

    Permalink
    Definition Classes
    Request
  100. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  103. def params: ParamMap

    Permalink
    Definition Classes
    RequestProxy → Request
  104. def path: String

    Permalink
    Definition Classes
    Request
    Annotations
    @BeanProperty()
  105. def reader: Reader

    Permalink
    Definition Classes
    RequestProxy → Message
  106. def referer: Option[String]

    Permalink
    Definition Classes
    Message
  107. def referer_=(value: String): Unit

    Permalink
    Definition Classes
    Message
  108. def remoteAddress: InetAddress

    Permalink
    Definition Classes
    Request
    Annotations
    @BeanProperty()
  109. def remoteHost: String

    Permalink
    Definition Classes
    Request
    Annotations
    @BeanProperty()
  110. def remotePort: Int

    Permalink
    Definition Classes
    Request
    Annotations
    @BeanProperty()
  111. def remoteSocketAddress: InetSocketAddress

    Permalink
    Definition Classes
    RequestProxy → Request
  112. def removeCookie(name: String): Unit

    Permalink
    Definition Classes
    Message
  113. val request: Request

    Permalink
    Definition Classes
    RequestBuilder → RequestProxy
  114. lazy val response: Response

    Permalink
    Definition Classes
    RequestProxy → Request
  115. def retryAfter: Option[String]

    Permalink
    Definition Classes
    Message
  116. def retryAfter_=(value: Long): Unit

    Permalink
    Definition Classes
    Message
  117. def retryAfter_=(value: String): Unit

    Permalink
    Definition Classes
    Message
  118. def server: Option[String]

    Permalink
    Definition Classes
    Message
  119. def server_=(value: String): Unit

    Permalink
    Definition Classes
    Message
  120. def setChunked(chunked: Boolean): Unit

    Permalink
    Definition Classes
    Message
  121. def setContent(content: ChannelBuffer): Unit

    Permalink
    Attributes
    protected[com.twitter.finagle]
    Definition Classes
    Message
  122. def setContentString(value: String): Unit

    Permalink
    Definition Classes
    Message
  123. def setContentType(mediaType: String, charset: String): Unit

    Permalink
    Definition Classes
    Message
  124. def setContentTypeJson(): Unit

    Permalink
    Definition Classes
    Message
  125. def setMethod(method: HttpMethod): Unit

    Permalink
    Attributes
    protected[com.twitter.finagle]
    Definition Classes
    Request
  126. def setUri(uri: String): Unit

    Permalink
    Attributes
    protected[com.twitter.finagle]
    Definition Classes
    Request
  127. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    Request → AnyRef → Any
  129. def uri: String

    Permalink
    Definition Classes
    Request
  130. def uri_=(uri: String): Unit

    Permalink
    Definition Classes
    Request
  131. def userAgent: Option[String]

    Permalink
    Definition Classes
    Message
  132. def userAgent_=(value: String): Unit

    Permalink
    Definition Classes
    Message
  133. def version: Version

    Permalink
    Definition Classes
    Message
  134. def version_=(version: Version): Unit

    Permalink
    Definition Classes
    Message
  135. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  138. def withInputStream[T](f: (InputStream) ⇒ T): T

    Permalink
    Definition Classes
    Message
  139. def withOutputStream[T](f: (OutputStream) ⇒ T): T

    Permalink
    Definition Classes
    Message
  140. def withReader[T](f: (Reader) ⇒ T): T

    Permalink
    Definition Classes
    Message
  141. def withWriter[T](f: (Writer) ⇒ T): T

    Permalink
    Definition Classes
    Message
  142. def write(buffer: ChannelBuffer): Unit

    Permalink
    Definition Classes
    Message
    Annotations
    @throws( ... ) @throws( ... )
  143. def write(bytes: Array[Byte]): Unit

    Permalink
    Definition Classes
    Message
  144. def write(string: String): Unit

    Permalink
    Definition Classes
    Message
  145. def writer: Writer with Closable

    Permalink
    Definition Classes
    RequestProxy → Message
  146. def wwwAuthenticate: Option[String]

    Permalink
    Definition Classes
    Message
  147. def wwwAuthenticate_=(value: String): Unit

    Permalink
    Definition Classes
    Message
  148. def xForwardedFor: Option[String]

    Permalink
    Definition Classes
    Message
  149. def xForwardedFor_=(value: String): Unit

    Permalink
    Definition Classes
    Message

Inherited from RequestProxy

Inherited from Request

Inherited from Message

Inherited from AnyRef

Inherited from Any

Ungrouped