package
scruffy
Type Members
-
-
-
abstract
class
CacheType extends AnyRef
-
trait
Digester extends AnyRef
-
-
-
-
-
trait
Filter extends AnyRef
-
case class
FilterHolder(path: String, filter: Filter) extends Product with Serializable
-
-
case class
HttpEndpoint(method: HttpMethod, url: String, pipeline: Pipeline) extends Product with Serializable
-
-
case class
HttpRequest(entityBytes: Array[Byte], method: HttpMethod, uri: Uri, headers: Set[Header], properties: Map[PropertyKey[Any], Any], ipAddress: String, responseCookies: Map[String, String] = ..., session: Option[Session], response: Option[HttpResponse] = scala.None, marshallers: Iterable[Marshaller] = immutable.this.Nil) extends Dynamic 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
-
class
NettyEndpointHandler extends SimpleChannelInboundHandler[AnyRef] with Logging
-
-
case class
Pipeline(p: (HttpRequest) ⇒ Future[HttpResponse], filters: List[Filter]) extends Product with Serializable
-
case class
PropertyKey[+T](value: 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, _requestLogging: Boolean = true, _marshallers: Seq[Marshaller] = ..., _notFound: (HttpRequest) ⇒ HttpResponse = ...) extends Product with Serializable
-
-
-
case class
StaticEndpoint(url: String, dir: File) extends Product with Serializable
-
-
class
StaticEndpointHandler extends SimpleChannelInboundHandler[io.netty.handler.codec.http.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: HttpRequest): Future[HttpRequest]
-
-
implicit
def
nettyHttpMethod2scruffyHttpMethod(nety: HttpMethod): HttpMethod
-
-
Inherited from AnyRef
Inherited from Any