Class/Object

com.twitter.finatra.http.response

ResponseBuilder

Related Docs: object ResponseBuilder | package response

Permalink

class ResponseBuilder extends Logging

Linear Supertypes
Logging, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResponseBuilder
  2. Logging
  3. Logging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ResponseBuilder(objectMapper: FinatraObjectMapper, fileResolver: FileResolver, messageBodyManager: MessageBodyManager, statsReceiver: StatsReceiver, includeContentTypeCharset: Boolean)

    Permalink
    Annotations
    @Inject()

Type Members

  1. case class EnrichedResponse(resp: Response) extends ResponseProxy with Product with Serializable

    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. object EnrichedResponse extends Serializable

    Permalink
  5. def accepted(body: Any): EnrichedResponse

    Permalink
  6. def accepted: EnrichedResponse

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def badGateway: EnrichedResponse

    Permalink
  9. def badRequest(body: Any): EnrichedResponse

    Permalink
  10. def badRequest: EnrichedResponse

    Permalink
  11. def clientClosed: EnrichedResponse

    Permalink
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def conflict(body: Any): EnrichedResponse

    Permalink
  14. def conflict: EnrichedResponse

    Permalink
  15. def create(response: Response): EnrichedResponse

    Permalink
  16. def created(body: Any): EnrichedResponse

    Permalink
  17. def created: EnrichedResponse

    Permalink
  18. def debug(mkr: Marker, msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  19. def debug(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  20. def debug(msg: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  21. def debugFutureResult[T](msg: String)(func: ⇒ Future[T]): Future[T]

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  22. def debugResult[T](msg: String)(func: ⇒ T): T

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  23. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. def error(mkr: Marker, msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  26. def error(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  27. def error(msg: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  28. def errorResult[T](msg: String)(func: ⇒ T): T

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  29. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  30. def forbidden(body: Any): EnrichedResponse

    Permalink
  31. def forbidden: EnrichedResponse

    Permalink
  32. def found: EnrichedResponse

    Permalink
  33. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  34. def gone(body: Any): EnrichedResponse

    Permalink
  35. def gone: EnrichedResponse

    Permalink
  36. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  37. def info(mkr: Marker, msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  38. def info(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  39. def info(msg: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  40. def infoResult[T](msg: String)(func: ⇒ T): T

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  41. def internalServerError(body: Any): EnrichedResponse

    Permalink
  42. def internalServerError: EnrichedResponse

    Permalink
  43. def isDebugEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  44. def isErrorEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  45. def isInfoEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  46. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  47. def isTraceEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  48. def isWarnEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  49. val jsonContentType: String

    Permalink
  50. def logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  51. def loggerName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  52. def methodNotAllowed: EnrichedResponse

    Permalink
  53. def movedPermanently(body: Any): EnrichedResponse

    Permalink
  54. def movedPermanently: EnrichedResponse

    Permalink
  55. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  56. def noContent: EnrichedResponse

    Permalink
  57. def notAcceptable(body: Any): EnrichedResponse

    Permalink
  58. def notAcceptable: EnrichedResponse

    Permalink
  59. def notFound(body: Any): EnrichedResponse

    Permalink
  60. def notFound(body: String): EnrichedResponse

    Permalink
  61. def notFound: EnrichedResponse

    Permalink
  62. def notImplemented: EnrichedResponse

    Permalink
  63. def notModified: EnrichedResponse

    Permalink
  64. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  66. def ok(body: String): EnrichedResponse

    Permalink
  67. def ok(request: Request, body: Any): EnrichedResponse

    Permalink

    Returns an Ok response with a written body, potentially based on values contained within the Request.

    Returns an Ok response with a written body, potentially based on values contained within the Request.

    request

    the HTTP Request associated with this response

    body

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

    Note

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

  68. def ok(body: Any): EnrichedResponse

    Permalink
  69. def ok: EnrichedResponse

    Permalink
  70. val plainTextContentType: String

    Permalink
  71. def preconditionFailed(body: Any): EnrichedResponse

    Permalink
  72. def preconditionFailed: EnrichedResponse

    Permalink
  73. def requestEntityTooLarge(body: Any): EnrichedResponse

    Permalink
  74. def requestEntityTooLarge: EnrichedResponse

    Permalink
  75. def serviceUnavailable: EnrichedResponse

    Permalink
  76. def status(responseStatus: Status): EnrichedResponse

    Permalink
  77. def status(statusCode: Int): EnrichedResponse

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

    Permalink
    Definition Classes
    AnyRef
  79. def temporaryRedirect: EnrichedResponse

    Permalink
  80. def time[T](formatStr: String)(func: ⇒ T): T

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  81. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  82. def trace(mkr: Marker, msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  83. def trace(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  84. def trace(msg: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  85. def unauthorized(body: Any): EnrichedResponse

    Permalink
  86. def unauthorized: EnrichedResponse

    Permalink
  87. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  90. def warn(mkr: Marker, msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  91. def warn(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  92. def warn(msg: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  93. def warnResult[T](msg: String)(func: ⇒ T): T

    Permalink
    Attributes
    protected
    Definition Classes
    Logging

Inherited from Logging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped