package
scruffy
Type Members
-
-
-
abstract
class
CacheType extends AnyRef
-
case class
Context(req: Request, ctx: ChannelHandlerContext, marshallers: Iterable[Marshaller] = immutable.this.Nil, response: Option[Response] = scala.None, properties: Map[PropertyKey[Any], Any] = ..., cookies: Map[String, String] = ...) extends Product with Serializable
-
trait
Digester extends AnyRef
-
case class
HttpResource(method: HttpMethod, path: String, processors: List[Processor])(implicit executionContext: ExecutionContext) extends Logging with Product with Serializable
-
-
-
trait
Logging extends AnyRef
-
-
-
trait
Processor extends AnyRef
-
-
abstract
class
PropertyKey[+T] extends AnyRef
-
case class
Request(method: HttpMethod, uri: Uri, entity: Array[Byte], headers: Map[String, String]) extends Product with Serializable
-
class
ResourceHandler extends SimpleChannelInboundHandler[AnyRef] with Logging
-
-
case class
Response(status: Int = 200, entity: Any = ..., cookies: Set[Cookie] = ..., headers: Map[String, String] = ...) extends Product with Serializable
-
-
-
-
case class
ScruffyConfiguration(_port: Int = 8080, _compression: Boolean = true, _maxContentLength: Int = 4048576, _keepAlive: Boolean = true, _bossThreads: Int = 1, _workerThreads: Int = ..., _socketBacklog: Int = 512, _dateHeader: Boolean = true, _security: Option[() ⇒ SSLEngine] = scala.None, _marshallers: Seq[Marshaller] = ..., _notFound: Processor = ...) extends Product with Serializable
-
-
-
-
Value Members
-
-
-
-
-
val
Localhost: String
-
-
-
-
-
object
Response extends Serializable
-
-
-
implicit
def
context2future(context: Context): Future[Context]
-
-
-
-
implicit
def
nettyHttpMethod2scruffyHttpMethod(netty: HttpMethod): HttpMethod
-
-
Inherited from AnyRef
Inherited from Any