com.sksamuel

scruffy

package scruffy

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. scruffy
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class Applicative extends AnyRef

  2. trait CacheSupport extends AnyRef

  3. abstract class CacheType extends AnyRef

    Public - may be cached in public shared caches.

  4. 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

  5. trait Digester extends AnyRef

  6. trait HttpRouteProvider extends ResponseBuilder

  7. trait LazyProcessor extends Processor

  8. trait Logging extends AnyRef

  9. class PathMatcher extends Processor

  10. trait Processor extends AnyRef

  11. abstract class PropertyKey[+T] extends AnyRef

  12. case class Request(method: HttpMethod, uri: Uri, entity: Array[Byte], headers: Map[String, String]) extends Product with Serializable

  13. case class Response(status: Int = 200, entity: Any = Array.empty[Byte], cookies: Set[Cookie] = Set.empty, headers: Map[String, String] = ...) extends Product with Serializable

  14. trait ResponseBuilder extends AnyRef

  15. case class Route(method: HttpMethod, path: String, pipeline: List[Processor]) extends Product with Serializable

  16. 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

  17. class RouteHandler extends SimpleChannelInboundHandler[AnyRef] with Logging

  18. abstract class RouteProvider extends HttpRouteProvider with WebsocketResourceProvider

  19. class Scruffy extends Logging

  20. 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

  21. class ScruffyLifecycle extends AnyRef

  22. trait ScruffyListener extends AnyRef

    A listener can register for callbacks at various times in the scruffy lifecycle, for example on startup, shutdown, and when resources are registered.

  23. trait WebsocketHandler extends AnyRef

  24. trait WebsocketResourceProvider extends AnyRef

  25. class WebsocketRoute extends AnyRef

Value Members

  1. object AttributeKeys

  2. object CacheType

  3. object Constants

  4. object EntityCastException extends RuntimeException with Product with Serializable

  5. object IsoDate

  6. val Localhost: String

  7. object MD5Digester extends Digester

  8. object ParamMapper

  9. object ParamMappingException extends RuntimeException with Product with Serializable

  10. object Processor

  11. object PropertyKeys

  12. object Response extends Serializable

  13. object Scruffy

  14. object ScruffyConfiguration extends Serializable

  15. implicit def context2future[E, P](context: Context[Any, Nothing]): Future[Context[Any, Nothing]]

  16. package filters

  17. implicit def function2processor[E, P](f: (Context[Any, Nothing]) ⇒ Context[Any, Nothing]): Processor

  18. package matchers

  19. implicit def nettyHttpMethod2scruffyHttpMethod(netty: HttpMethod): HttpMethod

  20. package session

  21. package validators

Inherited from AnyRef

Inherited from Any

Ungrouped