package response
- Source
- package.scala
- Alphabetic
- By Inheritance
- response
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait BaseContentType extends Responder[Any]
- case class CharContentType(contentType: String) extends BaseContentType with Product with Serializable
- case class Charset(charset: java.nio.charset.Charset) extends ResponseFunction[Any] with Product with Serializable
-
class
ComposeResponse[A] extends Responder[A]
Convenience base class for response function classes defined as a constructor paramater.
- case class ContentType(staticContentType: String) extends BaseContentType with Product with Serializable
- class DelegatingResponse[+T] extends HttpResponse[T]
- class HeaderName extends AnyRef
- case class Html(nodes: NodeSeq) extends ComposeResponse[Any] with Product with Serializable
- case class Html5(nodes: NodeSeq) extends ComposeResponse[Any] with Product with Serializable
- abstract class HttpResponse[+T] extends AnyRef
- case class Redirect(loc: String) extends Responder[Any] with Product with Serializable
-
trait
Responder[A] extends ResponseFunction[A]
Responders always return the provided instance of HttpResponse
- case class ResponseBytes(content: Array[Byte]) extends ResponseStreamer with Product with Serializable
- trait ResponseFunction[-A] extends AnyRef
- case class ResponseHeader(name: String, values: Iterable[String]) extends Responder[Any] with Product with Serializable
- trait ResponseStreamer extends Responder[Any]
- case class ResponseString(content: String) extends ResponseWriter with Product with Serializable
- trait ResponseWriter extends Responder[Any]
- case class Status(code: Int) extends Responder[Any] with Product with Serializable
-
implicit final
class
partialToPassing[A, B >: RF] extends AnyVal
Implicit methods on PartialFunction: onPass and onFold.
Implicit methods on PartialFunction: onPass and onFold. See unfiltered.response.Pass the explicit versions.
Value Members
- object AcceptRanges extends HeaderName
- object Accepted extends Status
- object AccessControlAllowCredentials extends HeaderName
- object AccessControlAllowHeaders extends HeaderName
- object AccessControlAllowMethods extends HeaderName
- object AccessControlAllowOrigin extends HeaderName
- object AccessControlExposeHeaders extends HeaderName
- object AccessControlMaxAge extends HeaderName
- object Age extends HeaderName
- object Allow extends HeaderName
- object AlreadyReported extends Status
- object ApplicationXmlContent extends CharContentType
- object BadGateway extends Status
- object BadRequest extends Status
- object CacheControl extends HeaderName
- object Conflict extends Status
- object Connection extends HeaderName
- object ContentDisposition extends HeaderName
- object ContentEncoding extends HeaderName
- object ContentLanguage extends HeaderName
- object ContentLength extends HeaderName
- object ContentLocation extends HeaderName
- object ContentMD5 extends HeaderName
- object ContentRange extends HeaderName
- object Continue extends Status
- object Created extends Status
- object CssContent extends CharContentType
- object CsvContent extends CharContentType
- object Date extends HeaderName
-
object
Defer
Defers evaluation of the given block until the response function is applied.
Defers evaluation of the given block until the response function is applied. Applications may defer expensive computation, state changes, blocking I/O, and other undesirable activity that would occur upon the eager application of an intent. A Pass can not be deferred
- object ETag extends HeaderName
- object ExpectationFailed extends Status
- object Expires extends HeaderName
- object FailedDependency extends Status
- object Forbidden extends Status
- object FormEncodedContent extends ContentType
- object Found extends Status
- object GatewayTimeout extends Status
- object Gone extends Status
- object HtmlContent extends CharContentType
- object HttpResponse
- object IMUsed extends Status
- object InsufficientStorage extends Status
- object InternalServerError extends Status
- object JsContent extends CharContentType
- object JsonContent extends CharContentType
- object LastModified extends HeaderName
- object LengthRequired extends Status
- object Location extends HeaderName
- object Locked extends Status
- object LoopDetected extends Status
- object MethodNotAllowed extends Status
- object MovedPermanently extends Status
- object MultiStatus extends Status
- object MultipleChoices extends Status
- object NetworkAuthenticationRequired extends Status
- object NoContent extends Status
- object NonAuthoritativeInformation extends Status
- object NotAcceptable extends Status
- object NotExtended extends Status
- object NotFound extends Status
- object NotImplemented extends Status
- object NotModified extends Status
- object Ok extends Status
- object PartialContent extends Status
-
object
Pass extends ResponseFunction[Any]
Tells the binding implementation to treat the request as non-matching
- object PaymentRequired extends Status
- object PdfContent extends ContentType
- object PlainTextContent extends CharContentType
- object Pragma extends HeaderName
- object PreconditionFailed extends Status
- object PreconditionRequired extends Status
- object Processing extends Status
- object ProxyAuthenticate extends HeaderName
- object ProxyAuthenticationRequired extends Status
- object RequestEntityTooLarge extends Status
- object RequestHeaderFieldsTooLarge extends Status
- object RequestTimeout extends Status
- object RequestURITooLong extends Status
- object RequestedRangeNotSatisfiable extends Status
- object ResetContent extends Status
-
object
ResponseFilter
Enclose the response's output stream in another stream, typically a subclass of java.io.FilterOutputStream
- object RetryAfter extends HeaderName
- object SeeOther extends Status
- object Server extends HeaderName
- object ServiceUnavailable extends Status
-
object
SetCookies
Set-Cookie response header
- object Stream
- object SwitchingProtocols extends Status
- object TeaPot extends Status
- object TemporaryRedirect extends Status
- object TextXmlContent extends CharContentType
-
object
ToCookies
Module for Cookie serialization
- object TooManyConnections extends Status
- object TooManyRequests extends Status
- object Trailer extends HeaderName
- object TransferEncoding extends HeaderName
- object Unauthorized extends Status
- object UnorderedCollection extends Status
- object UnprocessableEntity extends Status
- object UnsupportedMediaType extends Status
- object UpdateRequired extends Status
- object UseProxy extends Status
- object VariantAlsoNegotiates extends Status
- object Vary extends HeaderName
- object VersionNotSupported extends Status
- object WWWAuthenticate extends HeaderName
- object Warning extends HeaderName