com.sksamuel.scruffy

HttpEndpointBuilder

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

Linear Supertypes
Serializable, Serializable, Product, Equals, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HttpEndpointBuilder
  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 HttpEndpointBuilder(method: HttpMethod, path: String, executor: ExecutionContext, processors: ListBuffer[Processor])(implicit arg0: Manifest[E], arg1: Manifest[P])

Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. def ajax: HttpEndpointBuilder[E, P]

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

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

  8. def consumes(mediaType: MediaType): HttpEndpointBuilder[E, P]

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

  9. def cookie(name: String): HttpEndpointBuilder[E, P]

    Matches an endpoint if the request has a cookie with the given name.

  10. def emptyRequest: HttpEndpointBuilder[E, P]

  11. def entity[EP](implicit arg0: Manifest[EP]): HttpEndpointBuilder[EP, P]

  12. def entitySizeLimit(limit: Int): HttpEndpointBuilder[E, P]

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

    Definition Classes
    AnyRef
  14. val executor: ExecutionContext

  15. def finalize(): Unit

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

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

  18. def header(key: HeaderKey, value: Any): HttpEndpointBuilder[E, P]

  19. def header(key: String): HttpEndpointBuilder[E, P]

  20. def header(key: HeaderKey): HttpEndpointBuilder[E, P]

  21. def host(host: String): HttpEndpointBuilder[E, P]

  22. def ifMatch(name: String): HttpEndpointBuilder[E, P]

  23. def ip(address: String): HttpEndpointBuilder[E, P]

  24. final def isInstanceOf[T0]: Boolean

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

  26. def json: HttpEndpointBuilder[E, P]

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

  27. def localhost(host: String): HttpEndpointBuilder[E, P]

  28. val logger: Logger

    Attributes
    protected
    Definition Classes
    Logging
  29. val method: HttpMethod

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

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

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

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

  34. def param(name: String): HttpEndpointBuilder[E, P]

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

  36. val path: String

  37. def presumes(mediaType: MediaType): HttpEndpointBuilder[E, P]

  38. def presumes(mediaType: String): HttpEndpointBuilder[E, P]

    Overrides the incoming content type.

  39. def processor(processor: Processor): HttpEndpointBuilder[E, P]

  40. val processors: ListBuffer[Processor]

  41. def produces(mediaType: MediaType): HttpEndpointBuilder[E, P]

    Overrides the content type on a response to the given MediaType

  42. def scheme(scheme: String): HttpEndpointBuilder[E, P]

  43. def sessionManager(manager: SessionManager): HttpEndpointBuilder[E, P]

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

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

  46. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped