trait Results extends AnyRef
- Alphabetic
- By Inheritance
- Results
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val Accepted: Status
Generates a ‘202 ACCEPTED’ result.
- val BadGateway: Status
Generates a ‘502 BAD_GATEWAY’ result.
- val BadRequest: Status
Generates a ‘400 BAD_REQUEST’ result.
- val Conflict: Status
Generates a ‘409 CONFLICT’ result.
- val Continue: Result
Generates a ‘100 Continue’ result.
- val Created: Status
Generates a ‘201 CREATED’ result.
- val EntityTooLarge: Status
Generates a ‘413 REQUEST_ENTITY_TOO_LARGE’ result.
- val ExpectationFailed: Status
Generates a ‘417 EXPECTATION_FAILED’ result.
- val FailedDependency: Status
Generates a ‘424 FAILED_DEPENDENCY’ result.
- val Forbidden: Status
Generates a ‘403 FORBIDDEN’ result.
- def Found(url: String): Result
Generates a ‘302 FOUND’ simple result.
Generates a ‘302 FOUND’ simple result.
- url
the URL to redirect to
- val GatewayTimeout: Status
Generates a ‘504 GATEWAY_TIMEOUT’ result.
- val Gone: Status
Generates a ‘410 GONE’ result.
- val HttpVersionNotSupported: Status
Generates a ‘505 HTTP_VERSION_NOT_SUPPORTED’ result.
- val ImATeapot: Status
Generates a ‘418 IM_A_TEAPOT’ result.
- val InsufficientStorage: Status
Generates a ‘507 INSUFFICIENT_STORAGE’ result.
- val InternalServerError: Status
Generates a ‘500 INTERNAL_SERVER_ERROR’ result.
- val Locked: Status
Generates a ‘423 LOCKED’ result.
- val MethodNotAllowed: Status
Generates a ‘405 METHOD_NOT_ALLOWED’ result.
- def MovedPermanently(url: String): Result
Generates a ‘301 MOVED_PERMANENTLY’ simple result.
Generates a ‘301 MOVED_PERMANENTLY’ simple result.
- url
the URL to redirect to
- val MultiStatus: Status
Generates a ‘207 MULTI_STATUS’ result.
- val NetworkAuthenticationRequired: Status
Generates a ‘511 NETWORK_AUTHENTICATION_REQUIRED’ result.
- val NoContent: Result
Generates a ‘204 NO_CONTENT’ result.
- val NonAuthoritativeInformation: Status
Generates a ‘203 NON_AUTHORITATIVE_INFORMATION’ result.
- val NotAcceptable: Status
Generates a ‘406 NOT_ACCEPTABLE’ result.
- val NotFound: Status
Generates a ‘404 NOT_FOUND’ result.
- val NotImplemented: Status
Generates a ‘501 NOT_IMPLEMENTED’ result.
- val NotModified: Result
Generates a ‘304 NOT_MODIFIED’ result.
- val Ok: Status
Generates a ‘200 OK’ result.
- val PartialContent: Status
Generates a ‘206 PARTIAL_CONTENT’ result.
- val PaymentRequired: Status
Generates a ‘402 PAYMENT_REQUIRED’ result.
- def PermanentRedirect(url: String): Result
Generates a ‘308 PERMANENT_REDIRECT’ simple result.
Generates a ‘308 PERMANENT_REDIRECT’ simple result.
- url
the URL to redirect to
- val PreconditionFailed: Status
Generates a ‘412 PRECONDITION_FAILED’ result.
- val PreconditionRequired: Status
Generates a ‘428 PRECONDITION_REQUIRED’ result.
- def Redirect(call: Call, status: Int): Result
Generates a redirect simple result.
Generates a redirect simple result.
- call
Call defining the URL to redirect to, which typically comes from the reverse router
- status
HTTP status for redirect, such as SEE_OTHER, MOVED_TEMPORARILY or MOVED_PERMANENTLY
- def Redirect(call: Call): Result
Generates a redirect simple result.
Generates a redirect simple result.
- call
Call defining the URL to redirect to, which typically comes from the reverse router
- def Redirect(url: String, queryStringParams: Map[String, Seq[String]] = Map.empty, status: Int = SEE_OTHER): Result
Generates a redirect simple result.
Generates a redirect simple result.
- url
the URL to redirect to
- queryStringParams
queryString parameters to add to the queryString
- status
HTTP status for redirect, such as SEE_OTHER, MOVED_TEMPORARILY or MOVED_PERMANENTLY
- def Redirect(url: String, statusCode: Int): Result
Generates a redirect simple result.
Generates a redirect simple result.
- url
the URL to redirect to
- statusCode
HTTP status
- val RequestHeaderFieldsTooLarge: Status
Generates a ‘431 REQUEST_HEADER_FIELDS_TOO_LARGE’ result.
- val RequestTimeout: Status
Generates a ‘408 REQUEST_TIMEOUT’ result.
- val ResetContent: Result
Generates a ‘205 RESET_CONTENT’ result.
- def SeeOther(url: String): Result
Generates a ‘303 SEE_OTHER’ simple result.
Generates a ‘303 SEE_OTHER’ simple result.
- url
the URL to redirect to
- val ServiceUnavailable: Status
Generates a ‘503 SERVICE_UNAVAILABLE’ result.
- def Status(code: Int): Status
Generates a simple result.
Generates a simple result.
- code
the status code
- val SwitchingProtocols: Result
Generates a ‘101 Switching Protocols’ result.
- def TemporaryRedirect(url: String): Result
Generates a ‘307 TEMPORARY_REDIRECT’ simple result.
Generates a ‘307 TEMPORARY_REDIRECT’ simple result.
- url
the URL to redirect to
- val TooManyRequests: Status
Generates a ‘429 TOO_MANY_REQUESTS’ result.
- val Unauthorized: Status
Generates a ‘401 UNAUTHORIZED’ result.
- val UnprocessableEntity: Status
Generates a ‘422 UNPROCESSABLE_ENTITY’ result.
- val UnsupportedMediaType: Status
Generates a ‘415 UNSUPPORTED_MEDIA_TYPE’ result.
- val UriTooLong: Status
Generates a ‘414 REQUEST_URI_TOO_LONG’ result.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()