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. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. def lengthRequired: Response

  28. def methodNotAllowed: Response

  29. def movedPermanently: Response

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

    Definition Classes
    AnyRef
  31. def nocontent: Response

  32. def nonAuthoritativeInformation: Response

  33. def notAcceptable: Response

  34. def notFound(body: String): Response

  35. def notFound: Response

  36. def notImplemented: Response

  37. def notImplemented(reason: String): Response

  38. def notModified: Response

  39. final def notify(): Unit

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

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

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

  43. def ok(e: Any): Response

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

  44. def ok: Response

  45. def partialContent: Response

  46. def paymentRequired: Response

  47. def permanentRedirect(location: String): Response

  48. def preconditionFailed: Response

  49. def proxyAuthenticationRequired: Response

  50. def requestEntityTooLarge: Response

  51. def requestHeaderFieldsTooLarge: Response

  52. def requestTimeout: Response

  53. def requestURITooLong: Response

  54. def requestedRangeNotSatisfiable: Response

  55. def resetContent: Response

  56. def seeOther(location: String): Response

  57. def serviceUnavailable: Response

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

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

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

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

  62. def toString(): String

    Definition Classes
    AnyRef → Any
  63. def tooManyRequests: Response

  64. def unauthorized: Response

  65. def unprocessableEntity(reason: String): Response

  66. def unprocessableEntity: Response

  67. def unsupportedMediaType: Response

  68. def useProxy: Response

  69. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped