cask.endpoints

Members list

Concise view

Type members

Classlikes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait JsonData extends Data

Attributes

Companion:
object
Graph
Supertypes
trait Data
class Object
trait Matchable
class Any
Known subtypes
class JsonDataImpl[T]

Attributes

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

Attributes

Companion:
object
Graph
Supertypes
trait ArgReader[Unit, T, Request]
class Object
trait Matchable
class Any
Known subtypes
class NilParam[T]
object CookieParam.type
object FormDataParam.type
object HttpExchangeParam.type
object RequestParam.type

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Companion:
object
Graph
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
Known subtypes
class delete
class get
class options
class patch
class post
class put
class route

Attributes

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

Attributes

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

Attributes

Companion:
trait
Graph
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

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

Attributes

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

Attributes

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

Attributes

Graph
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
class get(val path: String, val subpath: Boolean) extends WebEndpoint

Attributes

Graph
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
class getJson(val path: String, val subpath: Boolean) extends HttpEndpoint[Response[JsonData], Seq[String]]

Attributes

Graph
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
class options(val path: String, val subpath: Boolean) extends WebEndpoint

Attributes

Graph
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
class patch(val path: String, val subpath: Boolean) extends WebEndpoint

Attributes

Graph
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
class post(val path: String, val subpath: Boolean) extends WebEndpoint

Attributes

Graph
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
class postForm(val path: String, val subpath: Boolean) extends HttpEndpoint[Raw, Seq[FormEntry]]

Attributes

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

Attributes

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

Attributes

Graph
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
class route(val path: String, val methods: Seq[String], val subpath: Boolean) extends WebEndpoint

Attributes

Graph
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
class staticFiles(val path: String, headers: Seq[(String, String)]) extends HttpEndpoint[String, Seq[String]]

Attributes

Graph
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
class staticResources(val path: String, resourceRoot: ClassLoader, headers: Seq[(String, String)]) extends HttpEndpoint[String, Seq[String]]

Attributes

Graph
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
class websocket(val path: String, val subpath: Boolean) extends Endpoint[WebsocketResult, WebsocketResult, Seq[String]]

Attributes

Graph
Supertypes
class Annotation
class Object
trait Matchable
class Any