Class/Object

com.twitter.finatra.http.response

EnrichedResponse

Related Docs: object EnrichedResponse | package response

Permalink

abstract class EnrichedResponse extends ResponseProxy

A wrapper around a com.twitter.finagle.http.Response which is itself a type of com.twitter.finagle.http.Response (by virtue of extending com.twitter.finagle.http.ResponseProxy

This class exposes a builder-like API for creating an com.twitter.finagle.http.Response. Users are NOT expected to interact with this class directly but should instead use the methods in the com.twitter.finatra.http.response.ResponseBuilder which return this specialized com.twitter.finagle.http.Response type.

Note

Usage is through com.twitter.finatra.http.response.ResponseBuilder

See also

com.twitter.finatra.http.response.ResponseBuilder

com.twitter.finagle.http.Response

Linear Supertypes
ResponseProxy, Proxy, Response, Message, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EnrichedResponse
  2. ResponseProxy
  3. Proxy
  4. Response
  5. Message
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EnrichedResponse()

    Permalink

Abstract Value Members

  1. abstract def body(buffer: Buf): EnrichedResponse

    Permalink

    Return a response with the given com.twitter.io.Buf set as the response body.

    Return a response with the given com.twitter.io.Buf set as the response body.

    buffer

    the com.twitter.io.Buf to set as the response body.

    returns

    an EnrichedResponse with the given com.twitter.io.Buf set as the response body.

  2. abstract def body(inputStream: InputStream): EnrichedResponse

    Permalink

    Return a response with the given InputStream written as bytes as the response body.

    Return a response with the given InputStream written as bytes as the response body.

    inputStream

    the InputStream to write as bytes as the response body.

    returns

    an EnrichedResponse with the given InputStream written as an Array[Byte] as the response body.

    Note

    this fully buffers the InputStream as an Array[Byte] and copies it as the response body. The given input stream is closed after writing the response body.

  3. abstract def body(bodyStr: String): EnrichedResponse

    Permalink

    Return a response with the given String written as the response body.

    Return a response with the given String written as the response body.

    bodyStr

    the String to write as the response body.

    returns

    an EnrichedResponse with the given String written as the response body.

  4. abstract def body(b: Array[Byte]): EnrichedResponse

    Permalink

    Return a response with the given Array[Byte] written as the response body.

    Return a response with the given Array[Byte] written as the response body.

    b

    bytes to write as the response body.

    returns

    an EnrichedResponse with the given Array[Byte] written as the response body.

    Note

    this uses com.twitter.io.Buf.ByteArray.Owned to set the response content.

    See also

    com.twitter.io.Buf.ByteArray.Owned

  5. abstract def body(request: Request, any: Any): EnrichedResponse

    Permalink

    Return a response with a written body potentially based on values contained within the com.twitter.finagle.http.Request.

    Return a response with a written body potentially based on values contained within the com.twitter.finagle.http.Request.

    request

    the com.twitter.finagle.http.Request associated with this response.

    any

    the body, or the information needed to render the body.

    returns

    an EnrichedResponse with the given object written as the response body.

    Note

    This version is useful when the any parameter requires custom message body rendering and values in the Request are required for decision making.

  6. abstract def body(any: Any): EnrichedResponse

    Permalink

    Return a response with the given object as the written response body.

    Return a response with the given object as the written response body. The object is pattern-matched to set the body and content type appropriately.

    any

    the body, or the information needed to render the body.

    returns

    an EnrichedResponse with the given object written as the response body.

  7. abstract def contentType(mediaType: String): EnrichedResponse

    Permalink

    Set the "Content-Type" response header field of this EnrichedResponse to the given String.

    Set the "Content-Type" response header field of this EnrichedResponse to the given String.

    mediaType

    the String to set a the header value.

    returns

    an EnrichedResponse with the "Content-Type" response header field set to given media type.

  8. abstract def contentTypeJson(): EnrichedResponse

    Permalink

    Set the "Content-Type" header field for this EnrichedResponse to "application/json".

    Set the "Content-Type" header field for this EnrichedResponse to "application/json".

    returns

    an EnrichedResponse with a the response header "Content-Type" field set to "application/json".

  9. abstract def cookie(c: Cookie): EnrichedResponse

    Permalink

    Set the given com.twitter.finagle.http.Cookie on the returned Response.

    Set the given com.twitter.finagle.http.Cookie on the returned Response.

    c

    the com.twitter.finagle.http.Cookie to set.

    returns

    an EnrichedResponse with a created Cookie of name with value.

    See also

    HTTP Cookie

  10. abstract def cookie(name: String, value: String): EnrichedResponse

    Permalink

    Set a com.twitter.finagle.http.Cookie with the given name and value on the returned Response.

    Set a com.twitter.finagle.http.Cookie with the given name and value on the returned Response.

    name

    com.twitter.finagle.http.Cookie name

    value

    com.twitter.finagle.http.Cookie value

    returns

    an EnrichedResponse with a created com.twitter.finagle.http.Cookie of name with value.

    See also

    HTTP Cookie Structure

  11. abstract def failure(request: Request, exception: DetailedNonRetryableSourcedException): EnrichedResponse

    Permalink

    Helper method for returning responses that are the result of a "service-level" failure.

    Helper method for returning responses that are the result of a "service-level" failure. This is most commonly useful in an com.twitter.finatra.http.exceptions.ExceptionMapper implementation. E.g.,

    request

    the com.twitter.finagle.http.Request that triggered the failure

    exception

    the DetailedNonRetryableSourcedException exception to classify

    returns

    this EnrichedResponse

    See also

    EnrichedResponse#failureClassifier

  12. abstract def failure(request: Request, source: String, details: Seq[Any], message: String = ""): EnrichedResponse

    Permalink

    Helper method for returning responses that are the result of a "service-level" failure.

    Helper method for returning responses that are the result of a "service-level" failure. This is most commonly useful in an com.twitter.finatra.http.exceptions.ExceptionMapper implementation. E.g.,

    @Singleton
    class AuthenticationExceptionMapper @Inject()(
     response: ResponseBuilder)
    extends ExceptionMapper[AuthenticationException] {
    
     override def toResponse(
       request: Request,
       exception: AuthenticationException
     ): Response = {
       response
         .status(exception.status)
         .failureClassifier(
           is5xxStatus(exception.status),
           request,
           exception)
       .jsonError(s"Your account could not be authenticated. Reason: ${exception.resultCode}")
     }
    }
    request

    the com.twitter.finagle.http.Request that triggered the failure

    source

    The named component responsible for causing this failure.

    details

    Details about this exception suitable for stats. Each element will be converted into a string. Note: Each element must have a bounded set of values (e.g. You can stat the type of a tweet as "protected" or "unprotected", but you can't include the actual tweet id "696081566032723968").

    message

    Details about this exception to be logged when this exception occurs. Typically logDetails contains the unbounded details of the exception that you are not able to stat such as an actual tweet ID (see above)

    returns

    this EnrichedResponse

    See also

    EnrichedResponse#failureClassifier

  13. abstract def failureClassifier(classifier: ⇒ Boolean, request: Request, source: String, details: Seq[Any] = Seq(), message: String = ""): EnrichedResponse

    Permalink

    Helper method for returning responses that are the result of a "service-level" failure.

    Helper method for returning responses that are the result of a "service-level" failure. This is most commonly useful in an com.twitter.finatra.http.exceptions.ExceptionMapper implementation.

    classifier

    if the failure should be "classified", e.g. logged and stat'd accordingly

    request

    the com.twitter.finagle.http.Request that triggered the failure

    source

    The named component responsible for causing this failure.

    details

    Details about this exception suitable for stats. Each element will be converted into a string. Note: Each element must have a bounded set of values (e.g. You can stat the type of a tweet as "protected" or "unprotected", but you can't include the actual tweet id "696081566032723968").

    message

    Details about this exception to be logged when this exception occurs. Typically logDetails contains the unbounded details of the exception that you are not able to stat such as an actual tweet ID (see above).

    returns

    this EnrichedResponse

  14. abstract def failureClassifier(classifier: ⇒ Boolean, request: Request, exception: DetailedNonRetryableSourcedException): EnrichedResponse

    Permalink

    Helper method for returning responses that are the result of a "service-level" failure.

    Helper method for returning responses that are the result of a "service-level" failure. This is most commonly useful in an com.twitter.finatra.http.exceptions.ExceptionMapper implementation. E.g.,

    classifier

    if the failure should be "classified", e.g. logged and stat'd accordingly

    request

    the com.twitter.finagle.http.Request that triggered the failure

    exception

    the DetailedNonRetryableSourcedException exception to classify

    returns

    this EnrichedResponse

    See also

    EnrichedResponse#failureClassifier

  15. abstract def file(file: String): EnrichedResponse

    Permalink

    Return a response resolving the given file path to a java.io.File using the configured com.twitter.finatra.utils.FileResolver.

    Return a response resolving the given file path to a java.io.File using the configured com.twitter.finatra.utils.FileResolver. The resolved java.io.File is set as bytes as the response body. The file contents are fully buffered and copied to an Array[Byte] before being written as the response body.

    file

    the file String to resolve as a java.io.File to write as the response body.

    returns

    an EnrichedResponse with the given file written as an Array[Byte] as the response body.

    Note

    The resolved file is closed after writing the response body.

    See also

    com.twitter.finatra.utils.FileResolver

  16. abstract def file(file: File): EnrichedResponse

    Permalink

    Return a response with the given java.io.File bytes as the response body.

    Return a response with the given java.io.File bytes as the response body. The file contents are fully buffered and copied to an Array[Byte] before being written as the response body.

    file

    the java.io.File to write as the response body.

    returns

    an EnrichedResponse with the given file written as an Array[Byte] as the response body.

    Note

    The given java.io.File is closed after writing the response body.

  17. abstract def fileOrIndex(filePath: String, indexPath: String): EnrichedResponse

    Permalink

    Return the file (only if it's an existing file w/ an extension), otherwise return the index.

    Return the file (only if it's an existing file w/ an extension), otherwise return the index. Note: This functionality is useful for "single-page" UI frameworks (e.g. AngularJS) that perform client side routing.

    filePath

    the file path to resolve and return

    indexPath

    the index path to use when the file at the given filePath does not exist or does not specify an extension.

    returns

    an EnrichedResponse with the resolved file or index written as an Array[Byte] as the response body.

    See also

    String)

  18. abstract def header(k: String, v: Any): EnrichedResponse

    Permalink

    Return a response with the given response header key/value set.

    Return a response with the given response header key/value set.

    k

    the response header key to set.

    v

    the response header object to set. This method calls toString on this parameter to compute the String value.

    returns

    an EnrichedResponse with the given response header field to the given value.

  19. abstract def headers(entries: (String, Any)*): EnrichedResponse

    Permalink

    Return a response with the given response headers set.

    Return a response with the given response headers set.

    entries

    the sequence of Tuple2 response header key/values to set.

    returns

    an EnrichedResponse with each response header field set to its tupled value.

  20. abstract def headers(map: Map[String, String]): EnrichedResponse

    Permalink

    Return a response with the given response headers set.

    Return a response with the given response headers set.

    map

    the map of response header key/values to set.

    returns

    an EnrichedResponse with each response header field set to its mapped value.

  21. abstract def html(any: Any): EnrichedResponse

    Permalink

    Return a response with the given object written as a HTML response body.

    Return a response with the given object written as a HTML response body. Sets the "Content-Type" header field for this EnrichedResponse to "text/html". The object is pattern-matched to set the response body appropriately.

    any

    the object to write as an HTML response body.

    returns

    an EnrichedResponse with the given object written as an HTML response body.

    Note

    the content type can be overridden depending on if there is a registered MessageBodyManager for the given object type that specifies a different content type than "text/html".

  22. abstract def html(html: String): EnrichedResponse

    Permalink

    Return a response with the given String written as a HTML response body.

    Return a response with the given String written as a HTML response body. Sets the "Content-Type" header field for this EnrichedResponse to "text/html".

    html

    the String to write as an HTML response body.

    returns

    an EnrichedResponse with the given String written as an HTML response body.

  23. abstract def json(obj: Any): EnrichedResponse

    Permalink

    Return a JSON-formatted body from the given object.

    Return a JSON-formatted body from the given object. Note when either String or Array[Byte] data is passed the data is set as the response body unmodified, i.e., assumes the data is already JSON formatted).

    The purpose of this method is to convert an object into a JSON-formatted body via the defined ObjectMapper.

    Sets the response "Content-Type" header to "application/json"

    obj

    object to convert into a JSON-formatted body.

    returns

    an EnrichedResponse with a JSON body.

  24. abstract def jsonError(message: String): EnrichedResponse

    Permalink

    Create a JSON-formatted ErrorsResponse response body based on the given string.

    Create a JSON-formatted ErrorsResponse response body based on the given string.

    message

    string message over which to create a JSON-formatted ErrorsResponse.

    returns

    an EnrichedResponse with a JSON-formatted ErrorsResponse response body.

    See also

    ErrorsResponse

  25. abstract def jsonError: EnrichedResponse

    Permalink

    Create a JSON-formatted ErrorsResponse response body based on this response's current com.twitter.finagle.http.Status.

    Create a JSON-formatted ErrorsResponse response body based on this response's current com.twitter.finagle.http.Status.

    returns

    an EnrichedResponse with a JSON-formatted ErrorsResponse response body.

    See also

    com.twitter.finagle.http.Status

    ErrorsResponse

  26. abstract def location(uri: String): EnrichedResponse

    Permalink

    Return a response with the "Location" response header field set to the given URI value.

    Return a response with the "Location" response header field set to the given URI value.

    uri

    the String value to set as the header value.

    returns

    an EnrichedResponse with a set "Location" response header.

  27. abstract def location(uri: Any): EnrichedResponse

    Permalink

    Return a response with the "Location" response header field set to the given URI value.

    Return a response with the "Location" response header field set to the given URI value.

    uri

    the value to set as the header value. This method calls toString on this parameter to compute the String value.

    returns

    an EnrichedResponse with a set "Location" response header.

  28. abstract def plain(any: Any): EnrichedResponse

    Permalink

    Return a response with the given object written as a plaintext response body.

    Return a response with the given object written as a plaintext response body. Sets the "Content-Type" header field for this EnrichedResponse to "text/plain".

    any

    the object to write as a plaintext response body.

    returns

    an EnrichedResponse with the given object written as a plaintext response body.

  29. abstract def response: Response

    Permalink
    Definition Classes
    Proxy
  30. abstract def toException: HttpResponseException

    Permalink

    Returns a HttpResponseException built from the Response wrapped by this EnrichedResponse

    Returns a HttpResponseException built from the Response wrapped by this EnrichedResponse

    returns

    a new HttpResponseException over the response

    See also

    HttpResponseException

  31. abstract def toFuture: Future[Response]

    Permalink

    Returns this EnrichedResponse wrapped in a com.twitter.util.Future

    Returns this EnrichedResponse wrapped in a com.twitter.util.Future

    returns

    a Future[Response]]

  32. abstract def toFutureException[T]: Future[T]

    Permalink

    Returns a failed Future of type [T] containing the result of EnrichedResponse#toException.

    Returns a failed Future of type [T] containing the result of EnrichedResponse#toException.

    T

    the type of the Future

    returns

    a "failed" Future.

    See also

    com.twitter.util.Future#exception

Concrete 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 cacheControl: Option[String]

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

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

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

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

    Permalink
    Definition Classes
    Message
  20. def chunkReader: Reader[Chunk]

    Permalink
    Definition Classes
    Proxy → Message
  21. def chunkWriter: Writer[Chunk]

    Permalink
    Definition Classes
    Proxy → Message
  22. final def clearContent(): Unit

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

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

    Permalink
    Definition Classes
    Message
  25. final def content: Buf

    Permalink
    Definition Classes
    Proxy → Message
  26. final def content(content: Buf): EnrichedResponse.this.type

    Permalink
    Definition Classes
    Message
    Annotations
    @throws( ... )
  27. final def contentLength(value: Long): EnrichedResponse.this.type

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

    Permalink
    Definition Classes
    Message
  29. final def contentLengthOrElse(default: Long): Long

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

    Permalink
    Definition Classes
    Message
  31. def contentString: String

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

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

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

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

    Permalink
    Definition Classes
    Proxy → Message
  36. lazy val cookies: CookieMap

    Permalink
    Definition Classes
    Proxy → Message
  37. def ctx: Record

    Permalink
    Definition Classes
    Proxy → Response
  38. def date: Option[String]

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

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

    Permalink
    Definition Classes
    Message
  41. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    Message
  46. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  48. def getContentString(): String

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

    Permalink
    Definition Classes
    Message
  50. final def getInputStream(): InputStream

    Permalink
    Definition Classes
    Message
  51. final def getLength(): Int

    Permalink
    Definition Classes
    Message
  52. final def getReader(): Reader

    Permalink
    Definition Classes
    Message
  53. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  54. def headerMap: HeaderMap

    Permalink
    Definition Classes
    Proxy → Message
  55. final def host(value: String): EnrichedResponse.this.type

    Permalink
    Definition Classes
    Message
  56. def host: Option[String]

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

    Permalink
    Definition Classes
    Message
  58. final def isChunked: Boolean

    Permalink
    Definition Classes
    Proxy → Message
  59. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  60. final def isRequest: Boolean

    Permalink
    Definition Classes
    Response → Message
  61. def isResponse: Boolean

    Permalink
    Definition Classes
    Message
  62. def isXmlHttpRequest: Boolean

    Permalink
    Definition Classes
    Message
  63. final def keepAlive: Boolean

    Permalink
    Definition Classes
    Message
  64. final def keepAlive(keepAlive: Boolean): EnrichedResponse.this.type

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

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

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

    Permalink
    Definition Classes
    Message
  68. final def length: Int

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

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

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

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

    Permalink
    Definition Classes
    Message
  73. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  76. final lazy val reader: Reader[Buf]

    Permalink
    Definition Classes
    Message
  77. def referer: Option[String]

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

    Permalink
    Definition Classes
    Message
  79. def removeCookie(name: String): Unit

    Permalink
    Definition Classes
    Message
  80. def retryAfter: Option[String]

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

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

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

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

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

    Permalink
    Definition Classes
    Proxy → Message
  86. final def setContentString(value: String): Unit

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

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

    Permalink
    Definition Classes
    Message
  89. final def status: Status

    Permalink
    Definition Classes
    Proxy → Response
  90. final def status(value: Status): EnrichedResponse.this.type

    Permalink
    Definition Classes
    Response
  91. final def statusCode(value: Int): EnrichedResponse.this.type

    Permalink
    Definition Classes
    Response
  92. final def statusCode: Int

    Permalink
    Definition Classes
    Response
  93. final def statusCode_=(value: Int): Unit

    Permalink
    Definition Classes
    Response
  94. final def status_=(value: Status): Unit

    Permalink
    Definition Classes
    Proxy → Response
  95. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    Response → AnyRef → Any
  97. def trailers: HeaderMap

    Permalink
    Definition Classes
    Proxy → Message
  98. def userAgent: Option[String]

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

    Permalink
    Definition Classes
    Message
  100. final def version: Version

    Permalink
    Definition Classes
    Proxy → Message
  101. final def version(version: Version): EnrichedResponse.this.type

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

    Permalink
    Definition Classes
    Proxy → Message
  103. final def wait(): Unit

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

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

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

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

    Permalink
    Definition Classes
    Message
    Annotations
    @throws( ... )
  108. final def withReader[T](f: (Reader) ⇒ T): T

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

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

    Permalink
    Definition Classes
    Message
    Annotations
    @throws( ... )
  111. final def write(buf: Buf): Unit

    Permalink
    Definition Classes
    Message
    Annotations
    @throws( ... )
  112. final def write(string: String): Unit

    Permalink
    Definition Classes
    Message
    Annotations
    @throws( ... )
  113. final lazy val writer: Writer[Buf]

    Permalink
    Definition Classes
    Message
  114. def wwwAuthenticate: Option[String]

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

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

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

    Permalink
    Definition Classes
    Message

Inherited from ResponseProxy

Inherited from Proxy

Inherited from Response

Inherited from Message

Inherited from AnyRef

Inherited from Any

Ungrouped