endpoints.documented.delegate

OptionalResponses

trait OptionalResponses extends algebra.OptionalResponses with Endpoints

Interpreter for algebra.OptionalResponses that ignores information related to documentation and delegates to another endpoints.algebra.OptionalResponses interpreter.

Source
OptionalResponses.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OptionalResponses
  2. Endpoints
  3. Responses
  4. Requests
  5. Methods
  6. Urls
  7. OptionalResponses
  8. Endpoints
  9. Responses
  10. Requests
  11. Methods
  12. Urls
  13. AnyRef
  14. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type Endpoint[A, B] = algebra.OptionalResponses.Endpoint[A, B]

    Information carried by an HTTP endpoint

    Information carried by an HTTP endpoint

    Definition Classes
    EndpointsEndpoints
  2. type Method = algebra.OptionalResponses.Method

    Definition Classes
    Methods → Methods
  3. type Path[A] = algebra.OptionalResponses.Path[A]

    An URL path carrying an A information

    An URL path carrying an A information

    Definition Classes
    UrlsUrls
  4. implicit class PathOps[A] extends AnyRef

    Convenient methods for Paths.

  5. type QueryString[A] = algebra.OptionalResponses.QueryString[A]

    A query string carrying an A information

    A query string carrying an A information

    Definition Classes
    UrlsUrls
  6. implicit class QueryStringOps[A] extends AnyRef

    Provides convenient methods on QueryString.

  7. type QueryStringParam[A] = algebra.OptionalResponses.QueryStringParam[A]

    A single query string parameter carrying an A information.

    A single query string parameter carrying an A information.

    Definition Classes
    UrlsUrls
  8. type Request[A] = algebra.OptionalResponses.Request[A]

    Information carried by a whole request (headers and entity)

    Information carried by a whole request (headers and entity)

    Definition Classes
    RequestsRequests
  9. type RequestEntity[A] = algebra.OptionalResponses.RequestEntity[A]

    Information carried by request entity

    Information carried by request entity

    Definition Classes
    RequestsRequests
  10. type RequestHeaders[A] = algebra.OptionalResponses.RequestHeaders[A]

    Information carried by requests’ headers

    Information carried by requests’ headers

    Definition Classes
    RequestsRequests
  11. type Response[A] = algebra.OptionalResponses.Response[A]

    Information carried by a response

    Information carried by a response

    Definition Classes
    ResponsesResponses
  12. type Segment[A] = algebra.OptionalResponses.Segment[A]

    An URL path segment carrying an A information.

    An URL path segment carrying an A information.

    Definition Classes
    UrlsUrls
  13. type Url[A] = algebra.OptionalResponses.Url[A]

    An URL carrying an A information

    An URL carrying an A information

    Definition Classes
    UrlsUrls

Abstract Value Members

  1. abstract val delegate: algebra.OptionalResponses

    Definition Classes
    OptionalResponsesEndpointsResponsesRequestsMethodsUrls

Concrete 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 Delete: Method

    Definition Classes
    Methods → Methods
  7. def Get: Method

    Definition Classes
    Methods → Methods
  8. def Patch: Method

    Definition Classes
    Methods → Methods
  9. def Post: Method

    Definition Classes
    Methods → Methods
  10. def Put: Method

    Definition Classes
    Methods → Methods
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def chainPaths[A, B](first: Path[A], second: Path[B])(implicit tupler: Tupler[A, B]): Path[Out]

    Chains the two paths

    Chains the two paths

    Definition Classes
    UrlsUrls
  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def combineQueryStrings[A, B](first: QueryString[A], second: QueryString[B])(implicit tupler: Tupler[A, B]): QueryString[Out]

    Concatenates two QueryStrings

    Concatenates two QueryStrings

    Definition Classes
    UrlsUrls
  15. def emptyHeaders: RequestHeaders[Unit]

    No particular information.

    No particular information. Does not mean that the headers *have to* be empty. Just that, from a server point of view no information will be extracted from them, and from a client point of view no particular headers will be built in the request.

    Definition Classes
    RequestsRequests
  16. def emptyRequest: RequestEntity[Unit]

    Empty request.

    Empty request.

    Definition Classes
    RequestsRequests
  17. def emptyResponse(documentation: String): Response[Unit]

    Empty response.

    Empty response.

    Definition Classes
    ResponsesResponses
  18. def endpoint[A, B](request: Request[A], response: Response[B]): Endpoint[A, B]

    HTTP endpoint.

    HTTP endpoint.

    request

    Request

    response

    Response

    Definition Classes
    EndpointsEndpoints
  19. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def get[A, B](url: Url[A], headers: RequestHeaders[B] = emptyHeaders)(implicit tuplerAC: Tupler[A, B]): Request[Out]

    Helper method to perform GET request

    Helper method to perform GET request

    Definition Classes
    Requests
  23. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  25. implicit def intQueryString: QueryStringParam[Int]

    Ability to define Int query string parameters

    Ability to define Int query string parameters

    Definition Classes
    UrlsUrls
  26. implicit def intSegment: Segment[Int]

    Ability to define Int path segments

    Ability to define Int path segments

    Definition Classes
    UrlsUrls
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. def longQueryString: QueryStringParam[Long]

    Query string parameter containing a Long value

    Query string parameter containing a Long value

    Definition Classes
    UrlsUrls
  29. implicit def longSegment: Segment[Long]

    Segment containing a Long value

    Segment containing a Long value

    Definition Classes
    UrlsUrls
  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 optQs[A](name: String)(implicit value: QueryStringParam[A]): QueryString[Option[A]]

    Builds a QueryString with one optional parameter of type A.

    Builds a QueryString with one optional parameter of type A.

    name

    Parameter’s name

    Definition Classes
    UrlsUrls
  34. def option[A](response: Response[A], notFoundDocumentation: String): Response[Option[A]]

    response

    Underlying response

    notFoundDocumentation

    Description in case there is no result

    returns

    A description of an HTTP response that can be either 404 (Not found) or the underlying response.

    Definition Classes
    OptionalResponsesOptionalResponses
  35. val path: Path[Unit]

    An empty path.

    An empty path.

    Useful to begin a path definition:

    path / "foo" / segment[Int]("some-value")
    Definition Classes
    Urls
  36. final def post[A, B, C, AB](url: Url[A], entity: RequestEntity[B], headers: RequestHeaders[C] = emptyHeaders)(implicit tuplerAB: Tupler.Aux[A, B, AB], tuplerABC: Tupler[AB, C]): Request[Out]

    Helper method to perform POST request

    Helper method to perform POST request

    Definition Classes
    Requests
  37. def qs[A](name: String)(implicit value: QueryStringParam[A]): QueryString[A]

    Builds a QueryString with one parameter.

    Builds a QueryString with one parameter.

    A

    Type of the value carried by the parameter

    name

    Parameter’s name

    Definition Classes
    UrlsUrls
  38. def request[A, B, C, AB](method: Method, url: Url[A], entity: RequestEntity[B] = emptyRequest, headers: RequestHeaders[C] = emptyHeaders)(implicit tuplerAB: Tupler.Aux[A, B, AB], tuplerABC: Tupler[AB, C]): Request[Out]

    Request for given parameters

    Request for given parameters

    method

    Request method

    url

    Request URL

    Definition Classes
    RequestsRequests
  39. def segment[A](name: String)(implicit s: Segment[A]): Path[A]

    Builds a path segment carrying an A information

    Builds a path segment carrying an A information

    name

    Name for the segment (for documentation)

    Definition Classes
    UrlsUrls
  40. def staticPathSegment(segment: String): Path[Unit]

    Builds a static path segment

    Builds a static path segment

    Definition Classes
    UrlsUrls
  41. implicit def stringQueryString: QueryStringParam[String]

    Ability to define String query string parameters

    Ability to define String query string parameters

    Definition Classes
    UrlsUrls
  42. implicit def stringSegment: Segment[String]

    Ability to define String path segments

    Ability to define String path segments

    Definition Classes
    UrlsUrls
  43. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  44. def textResponse(documentation: String): Response[String]

    Text response.

    Text response.

    Definition Classes
    ResponsesResponses
  45. def toString(): String

    Definition Classes
    AnyRef → Any
  46. def urlWithQueryString[A, B](path: Path[A], qs: QueryString[B])(implicit tupler: Tupler[A, B]): Url[Out]

    Builds an URL from the given path and query string

    Builds an URL from the given path and query string

    Definition Classes
    UrlsUrls
  47. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Endpoints

Inherited from Responses

Inherited from Requests

Inherited from Methods

Inherited from Urls

Inherited from algebra.OptionalResponses

Inherited from algebra.Endpoints

Inherited from algebra.Responses

Inherited from algebra.Requests

Inherited from algebra.Methods

Inherited from algebra.Urls

Inherited from AnyRef

Inherited from Any

Ungrouped