io.fintrospect

RouteSpec

Related Docs: object RouteSpec | package fintrospect

case class RouteSpec extends Product with Serializable

Encapsulates the specification of an HTTP endpoint, for use by either the

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

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def at(method: HttpMethod): IncompletePath0

  6. def body(bp: Body[_]): RouteSpec

    Register the expected content of the body.

  7. val body: Option[Body[_]]

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val consumes: Set[ContentType]

  10. def consuming(contentTypes: ContentType*): RouteSpec

    Register content types which the route will consume.

    Register content types which the route will consume. This is informational only and is NOT currently enforced.

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

    Definition Classes
    AnyRef
  12. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  14. val headerParams: Seq[HeaderParameter[_]]

  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  19. val produces: Set[ContentType]

  20. def producing(contentTypes: ContentType*): RouteSpec

    Register content types which thus route will produce.

    Register content types which thus route will produce. This is informational only and NOT currently enforced.

  21. val queryParams: Seq[QueryParameter[_]]

  22. val responses: Seq[ResponseSpec]

  23. def returning(code: (HttpResponseStatus, String), example: String): RouteSpec

    Register a possible response which could be produced by this route, with an example body (used for schema generation).

  24. def returning(code: (HttpResponseStatus, String), example: JsonRootNode): RouteSpec

    Register a possible response which could be produced by this route, with an example JSON body (used for schema generation).

  25. def returning(response: HttpResponse): RouteSpec

    Register an exact possible response which could be produced by this route.

    Register an exact possible response which could be produced by this route. Will be used for schema generation if content is JSON.

  26. def returning(codes: (HttpResponseStatus, String)*): RouteSpec

    Register one or more possible responses which could be produced by this route.

  27. def returning(newResponse: ResponseSpec): RouteSpec

    Register a possible response which could be produced by this route, with an example JSON body (used for schema generation).

  28. val summary: String

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

    Definition Classes
    AnyRef
  30. def taking(rp: QueryParameter[_]): RouteSpec

    Register a query parameter.

    Register a query parameter. Mandatory parameters are checked for each request, and a 400 returned if any are missing.

  31. def taking(rp: HeaderParameter[_]): RouteSpec

    Register a header parameter.

    Register a header parameter. Mandatory parameters are checked for each request, and a 400 returned if any are missing.

  32. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped