package api
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- api
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type ApiErrT[F[_], A] = EitherT[F, ApiError, A]
- final case class ApiError(status: Status, detail: JsonObject) extends Product with Serializable
- final case class ArchiveMetadata(files: slamdata.Predef.Map[RFile, FileMetadata]) extends Product with Serializable
- final case class DecodeError(msg: slamdata.Predef.String) extends Product with Serializable
- trait Decoder extends AnyRef
- final case class FileMetadata(contentType: Content-Type) extends Product with Serializable
- sealed abstract class JsonFormat extends slamdata.Predef.Product with slamdata.Predef.Serializable
- sealed abstract class JsonPrecision extends slamdata.Predef.Product with slamdata.Predef.Serializable
- sealed abstract class MessageFormat extends Decoder
- final case class QHttpService[S[_]] extends Product with Serializable
- final case class QResponse[S[_]](status: Status, headers: Headers, body: Process[[β$1$]Free[S, β$1$], ByteVector]) extends Product with Serializable
- type ResponseOr[A] = EitherT[Task, Response, A]
- type ResponseT[F[_], A] = EitherT[F, Response, A]
- abstract class ToApiError[A] extends AnyRef
- sealed abstract class ToApiErrorInstances extends ToApiErrorInstances0
- sealed abstract class ToApiErrorInstances0 extends AnyRef
- trait ToQResponse[A, S[_]] extends AnyRef
- sealed abstract class ToQResponseInstances extends ToQResponseInstances0
- sealed abstract class ToQResponseInstances0 extends AnyRef
Value Members
- val StaleHeader: Raw
- def decodedDir(encodedPath: slamdata.Predef.String): \/[ApiError, ADir]
- def decodedFile(encodedPath: slamdata.Predef.String): \/[ApiError, AFile]
- def decodedPath(encodedPath: slamdata.Predef.String): \/[ApiError, APath]
-
def
failureResponseOr[E](implicit E: ToQResponse[E, ResponseOr]): ~>[[β$0$]Failure[E, β$0$], ResponseOr]
Interpret a
Failure
effect intoResponseOr
given evidence the failure type can be converted to aQResponse
. - def failureResponseT[F[_], E](implicit arg0: Monad[F], E: ToQResponse[E, ResponseOr]): ~>[[β$1$]Failure[E, β$1$], [β$2$]EitherT[F, Response, β$2$]]
- def redirectService(basePath: slamdata.Predef.String): HttpService
- def staticFileService(basePath: slamdata.Predef.String): HttpService
- def transcode(from: PathCodec, to: PathCodec): (slamdata.Predef.String) ⇒ slamdata.Predef.String
- object ApiError extends Serializable
- object ArchiveMetadata extends Serializable
- object AsDirPath
- object AsFilePath
- object AsPath
- object DecodeError extends Serializable
- object Destination extends Singleton
- object FileMetadata extends Serializable
- object HeaderParam extends HttpMiddleware
- object JsonFormat extends Serializable
- object JsonPrecision extends Serializable
- object MessageFormat
- object Prefix
- object QResponse extends Serializable
- object RFC5987ContentDispositionRender extends HttpMiddleware
- object ToApiError extends ToApiErrorInstances
- object ToQResponse extends ToQResponseInstances
- object VCacheMiddleware
- object XFileName extends Singleton
- object Zip