cask.endpoints

package cask.endpoints

Members list

Type members

Classlikes

sealed trait FormReader[T] extends ArgReader[Seq[FormEntry], T, Request]

Attributes

Companion
object
Supertypes
trait ArgReader[Seq[FormEntry], T, Request]
class Object
trait Matchable
class Any
object FormReader

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
FormReader.type
sealed trait JsReader[T] extends ArgReader[Value, T, Request]

Attributes

Companion
object
Supertypes
trait ArgReader[Value, T, Request]
class Object
trait Matchable
class Any
object JsReader

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
JsReader.type
trait JsonData extends Data

Attributes

Companion
object
Supertypes
trait Data
class Object
trait Matchable
class Any
Known subtypes
class JsonDataImpl[T]
object JsonData extends DataCompanion[JsonData]

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
JsonData.type
abstract class ParamReader[T] extends ArgReader[Unit, T, Request]

Attributes

Companion
object
Supertypes
trait ArgReader[Unit, T, Request]
class Object
trait Matchable
class Any
Known subtypes
class NilParam[T]
object CookieParam
object FormDataParam
object RequestParam
object ParamReader

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class QueryParamReader[T] extends ArgReader[Seq[String], T, Request]

Attributes

Companion
object
Supertypes
trait ArgReader[Seq[String], T, Request]
class Object
trait Matchable
class Any
Known subtypes
class SimpleParam[T]
object BooleanParam
object ByteParam
object DoubleParam
object FloatParam
object IntParam
object LongParam
object ShortParam
object StringParam
Show all

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
object StaticUtil

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
StaticUtil.type
trait WebEndpoint extends HttpEndpoint[Raw, Seq[String]]

Attributes

Companion
object
Supertypes
trait HttpEndpoint[Raw, Seq[String]]
trait Endpoint[Raw, Raw, Seq[String]]
trait Decorator[Raw, Raw, Seq[String]]
class Annotation
class Object
trait Matchable
class Any
Show all
Known subtypes
class delete
class get
class options
class patch
class post
class put
class route
Show all
object WebEndpoint

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait WebsocketResult

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Listener
class Response[T]
class WsHandler

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
case class WsActor(handle: PartialFunction[Event, Unit])(implicit ac: Context, log: Logger) extends SimpleActor[Event]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class SimpleActor[Event]
class BaseActor[Event]
trait Actor[Event]
class Object
trait Matchable
class Any
Show all
class WsChannelActor(channel: WebSocketChannel)(implicit ac: Context, log: Logger) extends SimpleActor[Event]

Attributes

Supertypes
class SimpleActor[Event]
class BaseActor[Event]
trait Actor[Event]
class Object
trait Matchable
class Any
Show all
case class WsHandler(f: WsChannelActor => Actor[Event])(implicit ac: Context, log: Logger) extends WebsocketResult, WebSocketConnectionCallback

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait WebSocketConnectionCallback
class Object
trait Matchable
class Any
Show all
class delete(val path: String, val subpath: Boolean) extends WebEndpoint

Attributes

Supertypes
trait WebEndpoint
trait HttpEndpoint[Raw, Seq[String]]
trait Endpoint[Raw, Raw, Seq[String]]
trait Decorator[Raw, Raw, Seq[String]]
class Annotation
class Object
trait Matchable
class Any
Show all
class get(val path: String, val subpath: Boolean) extends WebEndpoint

Attributes

Supertypes
trait WebEndpoint
trait HttpEndpoint[Raw, Seq[String]]
trait Endpoint[Raw, Raw, Seq[String]]
trait Decorator[Raw, Raw, Seq[String]]
class Annotation
class Object
trait Matchable
class Any
Show all
class getJson(val path: String, val subpath: Boolean) extends HttpEndpoint[Response[JsonData], Seq[String]]

Attributes

Supertypes
trait HttpEndpoint[Response[JsonData], Seq[String]]
trait Endpoint[Raw, Response[JsonData], Seq[String]]
trait Decorator[Raw, Response[JsonData], Seq[String]]
class Annotation
class Object
trait Matchable
class Any
Show all
class options(val path: String, val subpath: Boolean) extends WebEndpoint

Attributes

Supertypes
trait WebEndpoint
trait HttpEndpoint[Raw, Seq[String]]
trait Endpoint[Raw, Raw, Seq[String]]
trait Decorator[Raw, Raw, Seq[String]]
class Annotation
class Object
trait Matchable
class Any
Show all
class patch(val path: String, val subpath: Boolean) extends WebEndpoint

Attributes

Supertypes
trait WebEndpoint
trait HttpEndpoint[Raw, Seq[String]]
trait Endpoint[Raw, Raw, Seq[String]]
trait Decorator[Raw, Raw, Seq[String]]
class Annotation
class Object
trait Matchable
class Any
Show all
class post(val path: String, val subpath: Boolean) extends WebEndpoint

Attributes

Supertypes
trait WebEndpoint
trait HttpEndpoint[Raw, Seq[String]]
trait Endpoint[Raw, Raw, Seq[String]]
trait Decorator[Raw, Raw, Seq[String]]
class Annotation
class Object
trait Matchable
class Any
Show all
class postForm(val path: String, val subpath: Boolean) extends HttpEndpoint[Raw, Seq[FormEntry]]

Attributes

Supertypes
trait HttpEndpoint[Raw, Seq[FormEntry]]
trait Endpoint[Raw, Raw, Seq[FormEntry]]
trait Decorator[Raw, Raw, Seq[FormEntry]]
class Annotation
class Object
trait Matchable
class Any
Show all
class postJson(val path: String, val subpath: Boolean) extends HttpEndpoint[Response[JsonData], Value]

Attributes

Supertypes
trait HttpEndpoint[Response[JsonData], Value]
trait Endpoint[Raw, Response[JsonData], Value]
trait Decorator[Raw, Response[JsonData], Value]
class Annotation
class Object
trait Matchable
class Any
Show all
class put(val path: String, val subpath: Boolean) extends WebEndpoint

Attributes

Supertypes
trait WebEndpoint
trait HttpEndpoint[Raw, Seq[String]]
trait Endpoint[Raw, Raw, Seq[String]]
trait Decorator[Raw, Raw, Seq[String]]
class Annotation
class Object
trait Matchable
class Any
Show all
class route(val path: String, val methods: Seq[String], val subpath: Boolean) extends WebEndpoint

Attributes

Supertypes
trait WebEndpoint
trait HttpEndpoint[Raw, Seq[String]]
trait Endpoint[Raw, Raw, Seq[String]]
trait Decorator[Raw, Raw, Seq[String]]
class Annotation
class Object
trait Matchable
class Any
Show all
class staticFiles(val path: String, headers: Seq[(String, String)]) extends HttpEndpoint[String, Seq[String]]

Attributes

Supertypes
trait HttpEndpoint[String, Seq[String]]
trait Endpoint[Raw, String, Seq[String]]
trait Decorator[Raw, String, Seq[String]]
class Annotation
class Object
trait Matchable
class Any
Show all
class staticResources(val path: String, resourceRoot: ClassLoader, headers: Seq[(String, String)]) extends HttpEndpoint[String, Seq[String]]

Attributes

Supertypes
trait HttpEndpoint[String, Seq[String]]
trait Endpoint[Raw, String, Seq[String]]
trait Decorator[Raw, String, Seq[String]]
class Annotation
class Object
trait Matchable
class Any
Show all
class websocket(val path: String, val subpath: Boolean) extends Endpoint[WebsocketResult, WebsocketResult, Seq[String]]

Attributes

Supertypes
class Annotation
class Object
trait Matchable
class Any
Show all