io.github.daviddenton.fintrospect

DescribedRoute

Related Docs: object DescribedRoute | package fintrospect

case class DescribedRoute extends Product with Serializable

Encapsulates the description of a route.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DescribedRoute
  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. val body: Option[Body]

  7. def clone(): AnyRef

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

  9. def consuming(contentTypes: ContentType*): DescribedRoute

    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.

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

    Definition Classes
    AnyRef
  11. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  17. val params: List[RequestParameter[_]]

  18. val produces: List[ContentType]

  19. def producing(contentTypes: ContentType*): DescribedRoute

    Register content types which thus route will produce.

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

  20. val responses: List[ResponseWithExample]

  21. def returning(code: (HttpResponseStatus, String), example: JsonNode): DescribedRoute

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

  22. def returning(response: HttpResponse): DescribedRoute

    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.

  23. def returning(codes: (HttpResponseStatus, String)*): DescribedRoute

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

  24. def returning(newResponse: ResponseWithExample): DescribedRoute

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

  25. val summary: String

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

    Definition Classes
    AnyRef
  27. def taking(bp: Body): DescribedRoute

    Register the expected content of the body.

    Register the expected content of the body. Presence is NOT currently enforced.

  28. def taking(rp: RequestParameter[_]): DescribedRoute

    Register a request parameter.

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

  29. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. 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