package
scruffy
Type Members
-
-
-
abstract
class
CacheType extends AnyRef
-
case class
Context[+E, +P <: Product](req: Request, ctx: ChannelHandlerContext, marshallers: Iterable[Marshaller] = Nil, response: Option[Response] = None, properties: Map[PropertyKey[Any], Any] = Map.empty, cookies: Map[String, String] = Map.empty, session: Option[Session] = None)(implicit evidence$1: Manifest[E], evidence$2: Manifest[P]) extends Product with Serializable
-
trait
Digester extends AnyRef
-
-
-
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
-
case class
Response(status: Int = 200, entity: Any = Array.empty[Byte], cookies: Set[Cookie] = Set.empty, headers: Map[String, String] = ...) extends Product with Serializable
-
-
case class
Route(method: HttpMethod, path: String, pipeline: List[Processor]) extends Product with Serializable
-
case class
RouteBuilder[E, P <: Product](method: HttpMethod, path: String, executor: ExecutionContext, processors: ListBuffer[Processor])(implicit evidence$1: Manifest[E], evidence$2: Manifest[P]) extends Product with Serializable
-
class
RouteHandler extends SimpleChannelInboundHandler[AnyRef] with Logging
-
-
-
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] = None, _marshallers: Seq[Marshaller] = ..., _notFound: Processor = ...) extends Product with Serializable
-
-
-
-
-
Value Members
-
-
-
-
object
EntityCastException extends RuntimeException with Product with Serializable
-
-
val
Localhost: String
-
-
-
object
ParamMappingException extends RuntimeException with Product with Serializable
-
-
-
object
Response extends Serializable
-
-
-
implicit
def
context2future[E, P](context: Context[Any, Nothing]): Future[Context[Any, Nothing]]
-
-
implicit
def
function2processor[E, P](f: (Context[Any, Nothing]) ⇒ Context[Any, Nothing]): Processor
-
-
implicit
def
nettyHttpMethod2scruffyHttpMethod(netty: HttpMethod): HttpMethod
-
-
Inherited from AnyRef
Inherited from Any