com.sksamuel.scruffy

ResponseBuilder

Related Docs: object ResponseBuilder | package scruffy

trait ResponseBuilder extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ResponseBuilder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait FutureOps[A] extends AnyRef

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. implicit def ToFutureOps[A](a: A): FutureOps[A] { def self: A }

  5. def accepted: HttpResponse

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def badGateway: HttpResponse

  8. def badRequest(reason: String): HttpResponse

  9. def badRequest: HttpResponse

  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def conflict: HttpResponse

  12. def created: HttpResponse

  13. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  15. def expectationFailed: HttpResponse

  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def forbidden(reason: String): HttpResponse

  18. def forbidden: HttpResponse

  19. def found: HttpResponse

  20. def gatewayTimeout: HttpResponse

  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def gone: HttpResponse

  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. def internalServerError(reason: String): HttpResponse

  25. def internalServerError: HttpResponse

  26. def internalServerError(e: Throwable): HttpResponse

  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. def lengthRequired: HttpResponse

  29. def methodNotAllowed: HttpResponse

  30. def movedPermanently: HttpResponse

  31. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  32. def nocontent: HttpResponse

  33. def nonAuthoritativeInformation: HttpResponse

  34. def notAcceptable: HttpResponse

  35. def notFound(body: String): HttpResponse

  36. def notFound: HttpResponse

  37. def notImplemented: HttpResponse

  38. def notImplemented(reason: String): HttpResponse

  39. def notModified: HttpResponse

  40. final def notify(): Unit

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

    Definition Classes
    AnyRef
  42. def ok(ent: Any, contentType: MediaType): HttpResponse

    Creates a Response, which is a 200 OK, with the given entity set as the payload with the given content-type.

  43. def ok(ent: Any, contentType: String): HttpResponse

    Creates a Response, which is a 200 OK, with the given entity set as the payload with the given content-type.

  44. def ok(e: Any): HttpResponse

    Creaes a 200 ok response with the entity set to the given value, and the content type inferred.

  45. def ok: HttpResponse

  46. def partialContent: HttpResponse

  47. def paymentRequired: HttpResponse

  48. def permanentRedirect(location: String): HttpResponse

  49. def preconditionFailed: HttpResponse

  50. def proxyAuthenticationRequired: HttpResponse

  51. def requestEntityTooLarge: HttpResponse

  52. def requestHeaderFieldsTooLarge: HttpResponse

  53. def requestTimeout: HttpResponse

  54. def requestURITooLong: HttpResponse

  55. def requestedRangeNotSatisfiable: HttpResponse

  56. def resetContent: HttpResponse

  57. def seeOther(location: String): HttpResponse

  58. def serviceUnavailable: HttpResponse

  59. def status(s: Int, reason: String): HttpResponse

  60. def status(s: Int): HttpResponse

    Builds a Response with the status code set to a HttpStatus which has the value of the given int.

    Builds a Response with the status code set to a HttpStatus which has the value of the given int.

    Eg, status(200) will return a Response of 200

  61. def status(s: HttpStatus): HttpResponse

    Builds a Response with the status code set the given HttpStatus

    Builds a Response with the status code set the given HttpStatus

    Eg, status(HttpStatus.OK) will return a Response of 200

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

    Definition Classes
    AnyRef
  63. def temporaryRedirect(location: String): HttpResponse

  64. def toString(): String

    Definition Classes
    AnyRef → Any
  65. def tooManyRequests: HttpResponse

  66. def unauthorized: HttpResponse

  67. def unprocessableEntity(reason: String): HttpResponse

  68. def unprocessableEntity: HttpResponse

  69. def unsupportedMediaType: HttpResponse

  70. def useProxy: HttpResponse

  71. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped