case class ServerEndpoint[I, E, O, -R, F[_]](endpoint: Endpoint[I, E, O, R], logic: (MonadError[F]) ⇒ (I) ⇒ F[Either[E, O]]) extends EndpointInfoOps[I, E, O, R] with EndpointMetaOps[I, E, O, R] with Product with Serializable
- I
Input parameter types.
- E
Error output parameter types.
- O
Output parameter types.
- R
The capabilities that are required by this endpoint's inputs/outputs.
Any
, if no requirements.- F
The effect type used in the provided server logic.
- Alphabetic
- By Inheritance
- ServerEndpoint
- Serializable
- Serializable
- Product
- Equals
- EndpointMetaOps
- EndpointInfoOps
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
Type Members
-
type
EndpointType[_I, _E, _O, -_R] = ServerEndpoint[_I, _E, _O, _R, F]
- Definition Classes
- ServerEndpoint → EndpointMetaOps → EndpointInfoOps
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
additionalInputsForShow: Vector[Basic[_]]
- Attributes
- protected
- Definition Classes
- EndpointMetaOps
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
deprecated(): EndpointType[I, E, O, R]
- Definition Classes
- EndpointInfoOps
-
def
description(d: String): EndpointType[I, E, O, R]
- Definition Classes
- EndpointInfoOps
- val endpoint: Endpoint[I, E, O, R]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
errorOutput: EndpointOutput[E]
- Definition Classes
- ServerEndpoint → EndpointMetaOps
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
info: EndpointInfo
- Definition Classes
- ServerEndpoint → EndpointMetaOps → EndpointInfoOps
-
def
info(i: EndpointInfo): EndpointType[I, E, O, R]
- Definition Classes
- EndpointInfoOps
-
def
input: EndpointInput[I]
- Definition Classes
- ServerEndpoint → EndpointMetaOps
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val logic: (MonadError[F]) ⇒ (I) ⇒ F[Either[E, O]]
-
def
name(n: String): EndpointType[I, E, O, R]
- Definition Classes
- EndpointInfoOps
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
output: EndpointOutput[O]
- Definition Classes
- ServerEndpoint → EndpointMetaOps
-
def
renderPathTemplate(renderPathParam: RenderPathParam = RenderPathTemplate.Defaults.path, renderQueryParam: Option[RenderQueryParam] = ..., includeAuth: Boolean = true): String
Renders endpoint path, by default all parametrised path and query components are replaced by {param_name} or {paramN}, e.g.
Renders endpoint path, by default all parametrised path and query components are replaced by {param_name} or {paramN}, e.g. for
endpoint.in("p1" / path[String] / query[String]("par2"))
returns
/p1/{param1}?par2={par2}
- includeAuth
Should authentication inputs be included in the result.
- Definition Classes
- EndpointMetaOps
-
def
show: String
Basic information about the endpoint, excluding mapping information, with inputs sorted (first the method, then path, etc.)
Basic information about the endpoint, excluding mapping information, with inputs sorted (first the method, then path, etc.)
- Definition Classes
- EndpointMetaOps
-
def
showDetail: String
Detailed description of the endpoint, with inputs/outputs represented in the same order as originally defined, including mapping information.
Detailed description of the endpoint, with inputs/outputs represented in the same order as originally defined, including mapping information.
- Definition Classes
- EndpointMetaOps
-
def
showRaw: String
Equivalent to
.toString
, shows the whole case class structure.Equivalent to
.toString
, shows the whole case class structure.- Definition Classes
- EndpointMetaOps
-
def
showType: String
- Attributes
- protected
- Definition Classes
- ServerEndpoint → EndpointMetaOps
-
def
summary(s: String): EndpointType[I, E, O, R]
- Definition Classes
- EndpointInfoOps
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tag(t: String): EndpointType[I, E, O, R]
- Definition Classes
- EndpointInfoOps
-
def
tags(ts: List[String]): EndpointType[I, E, O, R]
- Definition Classes
- EndpointInfoOps
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated