package
scruffy
Type Members
-
-
-
abstract
class
CacheType extends AnyRef
-
trait
Digester extends AnyRef
-
-
class
EndpointHandler extends SimpleChannelInboundHandler[AnyRef] with Logging
-
-
case class
HttpEndpoint(method: HttpMethod, path: String, pipeline: List[Processor]) extends Product with Serializable
-
case class
HttpEndpointBuilder[E, P <: Product](method: HttpMethod, path: String, executor: ExecutionContext, processors: ListBuffer[Processor])(implicit evidence$1: Manifest[E], evidence$2: Manifest[P]) extends Logging with Product with Serializable
-
-
case class
HttpResponse(status: Int = 200, entity: Any = ..., cookies: Set[Cookie] = ..., headers: Map[String, String] = ...) extends Product with Serializable
-
-
-
trait
Logging extends AnyRef
-
-
trait
Processor extends AnyRef
-
abstract
class
PropertyKey[+T] extends AnyRef
-
case class
Request[+E, +P <: Product](context: ScruffyContext, ctx: ChannelHandlerContext, marshallers: Iterable[Marshaller] = immutable.this.Nil, response: Option[HttpResponse] = scala.None, properties: Map[PropertyKey[Any], Any] = ..., cookies: Map[String, String] = ..., _session: Option[Session] = scala.None)(implicit evidence$1: Manifest[E], evidence$2: Manifest[P]) extends Dynamic with 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, _requestLogging: Boolean = true, _marshallers: Seq[Marshaller] = ..., _notFound: Processor = ...) extends Product with Serializable
-
case class
ScruffyContext(method: HttpMethod, uri: Uri, entity: Array[Byte], headers: Map[String, String]) extends Product with Serializable
-
-
-
case class
StaticEndpoint(url: String, dir: File) extends Product with Serializable
-
-
class
StaticEndpointHandler extends SimpleChannelInboundHandler[HttpRequest] with Logging
-
-
-
-
Value Members
-
-
-
-
-
object
EntityCastException extends RuntimeException with Product with Serializable
-
-
-
val
Localhost: String
-
-
-
object
ParamMappingException extends RuntimeException with Product with Serializable
-
-
-
object
ReqLogging extends SimpleChannelInboundHandler[FullHttpRequest] with Logging
-
-
-
-
implicit
def
context2future[E, P](context: Request[Any, Nothing]): Future[Request[Any, Nothing]]
-
-
implicit
def
function2processor[E, P](f: (Request[Any, Nothing]) ⇒ Request[Any, Nothing]): Processor
-
-
implicit
def
nettyHttpMethod2scruffyHttpMethod(netty: HttpMethod): HttpMethod
-
-
Inherited from AnyRef
Inherited from Any