Generates default SimpleResult
from a content type, headers and content.
Generates a ‘202 ACCEPTED’ result.
Generates a ‘202 ACCEPTED’ result.
Generates a ‘502 BAD_GATEWAY’ result.
Generates a ‘502 BAD_GATEWAY’ result.
Generates a ‘400 BAD_REQUEST’ result.
Generates a ‘400 BAD_REQUEST’ result.
Generates a ‘409 CONFLICT’ result.
Generates a ‘409 CONFLICT’ result.
Generates a ‘201 CREATED’ result.
Generates a ‘201 CREATED’ result.
Generates a ‘413 REQUEST_ENTITY_TOO_LARGE’ result.
Generates a ‘413 REQUEST_ENTITY_TOO_LARGE’ result.
Generates a ‘417 EXPECTATION_FAILED’ result.
Generates a ‘417 EXPECTATION_FAILED’ result.
Generates a ‘424 FAILED_DEPENDENCY’ result.
Generates a ‘424 FAILED_DEPENDENCY’ result.
Generates a ‘403 FORBIDDEN’ result.
Generates a ‘403 FORBIDDEN’ result.
Generates a ‘302 FOUND’ simple result.
Generates a ‘504 GATEWAY_TIMEOUT’ result.
Generates a ‘504 GATEWAY_TIMEOUT’ result.
Generates a ‘410 GONE’ result.
Generates a ‘410 GONE’ result.
Generates a ‘505 HTTP_VERSION_NOT_SUPPORTED’ result.
Generates a ‘505 HTTP_VERSION_NOT_SUPPORTED’ result.
Generates a ‘507 INSUFFICIENT_STORAGE’ result.
Generates a ‘507 INSUFFICIENT_STORAGE’ result.
Generates a ‘500 INTERNAL_SERVER_ERROR’ result.
Generates a ‘500 INTERNAL_SERVER_ERROR’ result.
Generates a ‘423 LOCKED’ result.
Generates a ‘423 LOCKED’ result.
Generates a ‘405 METHOD_NOT_ALLOWED’ result.
Generates a ‘405 METHOD_NOT_ALLOWED’ result.
Generates a ‘301 MOVED_PERMANENTLY’ simple result.
Generates a ‘301 MOVED_PERMANENTLY’ simple result.
the URL to redirect to
Generates a ‘207 MULTI_STATUS’ result.
Generates a ‘207 MULTI_STATUS’ result.
Generates a ‘204 NO_CONTENT’ result.
Generates a ‘204 NO_CONTENT’ result.
Generates a ‘203 NON_AUTHORITATIVE_INFORMATION’ result.
Generates a ‘203 NON_AUTHORITATIVE_INFORMATION’ result.
Generates a ‘406 NOT_ACCEPTABLE’ result.
Generates a ‘406 NOT_ACCEPTABLE’ result.
Generates a ‘404 NOT_FOUND’ result.
Generates a ‘404 NOT_FOUND’ result.
Generates a ‘501 NOT_IMPLEMENTED’ result.
Generates a ‘501 NOT_IMPLEMENTED’ result.
Generates a ‘304 NOT_MODIFIED’ result.
Generates a ‘304 NOT_MODIFIED’ result.
Generates a ‘200 OK’ result.
Generates a ‘200 OK’ result.
Generates a ‘206 PARTIAL_CONTENT’ result.
Generates a ‘206 PARTIAL_CONTENT’ result.
Generates a ‘412 PRECONDITION_FAILED’ result.
Generates a ‘412 PRECONDITION_FAILED’ result.
Generates a redirect simple result.
Generates a redirect simple result.
Call defining the URL to redirect to, which typically comes from the reverse router
Generates a redirect simple result.
Generates a redirect simple result.
the URL to redirect to
queryString parameters to add to the queryString
HTTP status
Generates a redirect simple result.
Generates a redirect simple result.
the URL to redirect to
HTTP status
Generates a ‘408 REQUEST_TIMEOUT’ result.
Generates a ‘408 REQUEST_TIMEOUT’ result.
Generates a ‘205 RESET_CONTENT’ result.
Generates a ‘205 RESET_CONTENT’ result.
Generates a ‘303 SEE_OTHER’ simple result.
Generates a ‘503 SERVICE_UNAVAILABLE’ result.
Generates a ‘503 SERVICE_UNAVAILABLE’ result.
Generates a simple result.
Generates a ‘307 TEMPORARY_REDIRECT’ simple result.
Generates a ‘307 TEMPORARY_REDIRECT’ simple result.
the URL to redirect to
Generates a ‘429 TOO_MANY_REQUEST’ result.
Generates a ‘429 TOO_MANY_REQUEST’ result.
Generates a ‘401 UNAUTHORIZED’ result.
Generates a ‘401 UNAUTHORIZED’ result.
Generates a ‘422 UNPROCESSABLE_ENTITY’ result.
Generates a ‘422 UNPROCESSABLE_ENTITY’ result.
Generates a ‘415 UNSUPPORTED_MEDIA_TYPE’ result.
Generates a ‘415 UNSUPPORTED_MEDIA_TYPE’ result.
Generates a ‘414 REQUEST_URI_TOO_LONG’ result.
Generates a ‘414 REQUEST_URI_TOO_LONG’ result.
Implements HTTP chunked transfer encoding.
Implements HTTP chunked transfer encoding.
An optional trailers iteratee. If supplied, this will be zipped with the output iteratee, so that it can calculate some trailing headers, which will be included with the last chunk.
Implements HTTP chunked transfer encoding.
Implements HTTP chunked transfer encoding.
Default content type for byte array (application/application/octet-stream).
Default content type for byte array (application/application/octet-stream).
Default content type for empty responses (no content type).
Default content type for empty responses (no content type).
Default content type for Html
values (text/html
).
Default content type for Html
values (text/html
).
Default content type for JavaScript
values.
Default content type for JavaScript
values.
Default content type for JsValue
values (application/json
).
Default content type for JsValue
values (application/json
).
Default content type for NodeBuffer
values (application/xml
).
Default content type for NodeBuffer
values (application/xml
).
Default content type for NodeSeq
values (application/xml
).
Default content type for NodeSeq
values (application/xml
).
Default content type for String
values (text/plain
).
Default content type for String
values (text/plain
).
Default content type for Txt
values (text/plain
).
Default content type for Txt
values (text/plain
).
Default content type for Xml
values (application/xml
).
Default content type for Xml
values (application/xml
).
Default content type for Map[String, Seq[String]]]
values (application/x-www-form-urlencoded
).
Default content type for Map[String, Seq[String]]]
values (application/x-www-form-urlencoded
).
Dechunks a chunked transfer encoding stream.
Dechunks a chunked transfer encoding stream.
Chunks may span multiple elements in the stream.
Straightforward Writeable
for Array[Byte] values.
Straightforward Writeable
for Array[Byte] values.
Straightforward Writeable
for String values.
Straightforward Writeable
for String values.
Writeable
for Content
values.
Writeable
for Content
values.
Writeable
for empty responses.
Writeable
for empty responses.
Writeable
for JsValue
values - Json
Writeable
for JsValue
values - Json
Writeable
for NodeBuffer
values - literal Scala XML.
Writeable
for NodeBuffer
values - literal Scala XML.
Writeable
for NodeSeq
values - literal Scala XML.
Writeable
for NodeSeq
values - literal Scala XML.
Writeable
for urlEncodedForm
values
Writeable
for urlEncodedForm
values
(Since version 2.2.0) Use Action.async to build async actions instead
Java compatible Results