com.sksamuel.scruffy

RouteBuilder

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 Logging with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RouteBuilder
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Logging
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RouteBuilder(method: HttpMethod, path: String, executor: ExecutionContext, processors: ListBuffer[Processor])(implicit arg0: Manifest[E], arg1: Manifest[P])

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def ajax: RouteBuilder[E, P]

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def complete(f: (Request[E, P]) ⇒ Future[HttpResponse]): RouteBuilder[E, P]

  10. def consumes(mediaType: MediaType): RouteBuilder[E, P]

    Matches the route if the request has a content type that matches the given mediaType

  11. def cookie(name: String): RouteBuilder[E, P]

    Matches a route if the request has a cookie with the given name.

  12. def emptyRequest: RouteBuilder[E, P]

  13. def entity[EP](implicit arg0: Manifest[EP]): RouteBuilder[EP, P]

  14. def entitySizeLimit(limit: Int): RouteBuilder[E, P]

  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. val executor: ExecutionContext

  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def header(key: String, value: Any): RouteBuilder[E, P]

  20. def header(key: HeaderKey, value: Any): RouteBuilder[E, P]

  21. def header(key: String): RouteBuilder[E, P]

  22. def header(key: HeaderKey): RouteBuilder[E, P]

  23. def host(host: String): RouteBuilder[E, P]

  24. def ifMatch(name: String): RouteBuilder[E, P]

  25. def ip(address: String): RouteBuilder[E, P]

  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. def json(f: (Request[E, P]) ⇒ Future[HttpResponse]): RouteBuilder[E, P]

  28. def json: RouteBuilder[E, P]

    Matches the route if the request has a content type of Application/Json

  29. def localhost(host: String): RouteBuilder[E, P]

  30. val logger: Logger

    Attributes
    protected
    Definition Classes
    Logging
  31. val method: HttpMethod

  32. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  33. final def notify(): Unit

    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  35. def param(name: String, value: String): RouteBuilder[E, P]

  36. def param(name: String): RouteBuilder[E, P]

  37. def params[PP <: Product](implicit arg0: Manifest[PP]): RouteBuilder[E, PP]

  38. val path: String

  39. def presumes(mediaType: MediaType): RouteBuilder[E, P]

  40. def presumes(mediaType: String): RouteBuilder[E, P]

    Overrides the incoming content type.

  41. def processor(processor: Processor): RouteBuilder[E, P]

  42. val processors: ListBuffer[Processor]

  43. def produces(mediaType: MediaType)(f: (Request[E, P]) ⇒ Future[HttpResponse]): RouteBuilder[E, P]

  44. def produces(mediaType: String)(f: (Request[E, P]) ⇒ Future[HttpResponse]): RouteBuilder[E, P]

  45. def scheme(scheme: String): RouteBuilder[E, P]

  46. def sessionManager(manager: SessionManager): RouteBuilder[E, P]

  47. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  48. def userAgent(regex: String): RouteBuilder[E, P]

  49. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. def xml(f: (Request[E, P]) ⇒ Future[HttpResponse]): RouteBuilder[E, P]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped