com.sksamuel.scruffy

ResponseBuilder

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. implicit class FutureOps[A] extends AnyRef

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. val accepted: HttpResponse

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. val badGateway: HttpResponse

  9. def badRequest(reason: String): HttpResponse

  10. val badRequest: HttpResponse

  11. def clone(): AnyRef

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

  13. val created: HttpResponse

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

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

    Definition Classes
    AnyRef → Any
  16. val expectationFailed: HttpResponse

  17. def finalize(): Unit

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

  19. def forbidden: HttpResponse

  20. val found: HttpResponse

  21. def gatewayTimeout: HttpResponse

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

    Definition Classes
    AnyRef → Any
  23. val gone: HttpResponse

  24. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  25. def internalServerError(entity: Any): HttpResponse

  26. def internalServerError(reason: String): HttpResponse

  27. def internalServerError(e: Throwable): HttpResponse

  28. val internalServerError: HttpResponse

  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. val lengthRequired: HttpResponse

  31. val methodNotAllowed: HttpResponse

  32. val movedPermanently: HttpResponse

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

    Definition Classes
    AnyRef
  34. val nocontent: HttpResponse

  35. val nonAuthoritativeInformation: HttpResponse

  36. val notAcceptable: HttpResponse

  37. def notFound(body: String): HttpResponse

  38. val notFound: HttpResponse

  39. def notImplemented(reason: String): HttpResponse

  40. val notImplemented: HttpResponse

  41. val notModified: HttpResponse

  42. final def notify(): Unit

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

    Definition Classes
    AnyRef
  44. 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.

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

  46. def ok(e: Any): HttpResponse

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

  47. val ok: HttpResponse

  48. val partialContent: HttpResponse

  49. val paymentRequired: HttpResponse

  50. def permanentRedirect(location: String): HttpResponse

  51. val preconditionFailed: HttpResponse

  52. val proxyAuthenticationRequired: HttpResponse

  53. val requestEntityTooLarge: HttpResponse

  54. val requestHeaderFieldsTooLarge: HttpResponse

  55. val requestTimeout: HttpResponse

  56. val requestURITooLong: HttpResponse

  57. val requestedRangeNotSatisfiable: HttpResponse

  58. val resetContent: HttpResponse

  59. def seeOther(location: String): HttpResponse

  60. val serviceUnavailable: HttpResponse

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

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

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

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

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

  66. def toString(): String

    Definition Classes
    AnyRef → Any
  67. val tooManyRequests: HttpResponse

  68. val unauthorized: HttpResponse

  69. def unprocessableEntity(reason: String): HttpResponse

  70. val unprocessableEntity: HttpResponse

  71. val unsupportedMediaType: HttpResponse

  72. val useProxy: HttpResponse

  73. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped