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(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

  5. trait Digester extends AnyRef

  6. case class HttpResource(method: HttpMethod, path: String, processors: List[Processor])(implicit executionContext: ExecutionContext) extends Logging with Product with Serializable

  7. trait HttpResourceProvider extends ResponseBuilder with MatchersDsl with ValidatorsDsl with ResponseDsl

  8. trait LazyProcessor extends Processor

  9. trait Logging extends AnyRef

  10. trait MatchersDsl extends ProcessorDsl with ResponseBuilder

  11. class PathMatcher extends Processor

  12. trait Processor extends AnyRef

  13. trait ProcessorDsl extends AnyRef

  14. abstract class PropertyKey[+T] extends AnyRef

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

  16. class ResourceHandler extends SimpleChannelInboundHandler[AnyRef] with Logging

  17. abstract class ResourceProvider extends HttpResourceProvider with WebsocketResourceProvider

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

  19. trait ResponseBuilder extends AnyRef

  20. trait ResponseDsl extends ResponseBuilder

  21. class Scruffy extends Logging

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

  23. class ScruffyLifecycle extends AnyRef

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

  25. trait WebsocketHandler extends AnyRef

  26. class WebsocketResource extends AnyRef

  27. trait WebsocketResourceProvider extends AnyRef

Value Members

  1. object AttributeKeys

  2. object CacheType

  3. object Constants

  4. object IsoDate

  5. val Localhost: String

  6. object MD5Digester extends Digester

  7. object ParamMapper

  8. object Processor

  9. object PropertyKeys

  10. object Response extends Serializable

  11. object Scruffy

  12. object ScruffyConfiguration extends Serializable

  13. implicit def context2future(context: Context): Future[Context]

  14. package filters

  15. implicit def function2processor(f: (Context) ⇒ Context): Processor

  16. package matchers

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

  18. package processors

  19. package validators

Inherited from AnyRef

Inherited from Any

Ungrouped