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: Response

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def badGateway: Response

  8. def badRequest(reason: String): Response

  9. def badRequest: Response

  10. def clone(): AnyRef

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

  12. def created: Response

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

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

    Definition Classes
    AnyRef → Any
  15. def expectationFailed: Response

  16. def finalize(): Unit

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

  18. def forbidden: Response

  19. def found: Response

  20. def gatewayTimeout: Response

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

    Definition Classes
    AnyRef → Any
  22. def gone: Response

  23. def hashCode(): Int

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

  25. def internalServerError: Response

  26. def internalServerError(e: Throwable): Response

  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. def lengthRequired: Response

  29. def methodNotAllowed: Response

  30. def movedPermanently: Response

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

    Definition Classes
    AnyRef
  32. def nocontent: Response

  33. def nonAuthoritativeInformation: Response

  34. def notAcceptable: Response

  35. def notFound(body: String): Response

  36. def notFound: Response

  37. def notImplemented: Response

  38. def notImplemented(reason: String): Response

  39. def notModified: Response

  40. final def notify(): Unit

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

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

    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): Response

    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): Response

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

  45. def ok: Response

  46. def partialContent: Response

  47. def paymentRequired: Response

  48. def permanentRedirect(location: String): Response

  49. def preconditionFailed: Response

  50. def proxyAuthenticationRequired: Response

  51. def requestEntityTooLarge: Response

  52. def requestHeaderFieldsTooLarge: Response

  53. def requestTimeout: Response

  54. def requestURITooLong: Response

  55. def requestedRangeNotSatisfiable: Response

  56. def resetContent: Response

  57. def seeOther(location: String): Response

  58. def serviceUnavailable: Response

  59. def status(s: Int): Response

    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

  60. def status(s: HttpStatus): Response

    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

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

    Definition Classes
    AnyRef
  62. def temporaryRedirect(location: String): Response

  63. def toString(): String

    Definition Classes
    AnyRef → Any
  64. def tooManyRequests: Response

  65. def unauthorized: Response

  66. def unprocessableEntity(reason: String): Response

  67. def unprocessableEntity: Response

  68. def unsupportedMediaType: Response

  69. def useProxy: Response

  70. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped