object EndpointMiddleware
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- EndpointMiddleware
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type CorsError = (AccessControlAllowHeaders, AccessControlAllowOrigin, AccessControlAllowMethods, Option[AccessControlAllowCredentials])
- type CorsInput = Either[(Origin, AccessControlRequestMethod), (Method, Origin)]
- type CorsOutput = (AccessControlExposeHeaders, AccessControlAllowOrigin, AccessControlAllowMethods, Option[AccessControlAllowCredentials])
- type None = None.type
- final case class Spec[In0, Err0, Out0](input: HttpCodec[codec.HttpCodecType.Header with Query with codec.HttpCodecType.Method, In0], output: HttpCodec[codec.HttpCodecType.Header, Out0], error: HttpCodec[ResponseType, Err0], doc: Doc = Doc.empty) extends EndpointMiddleware with Product with Serializable
- type Typed[In0, Err0, Out0] = EndpointMiddleware { ... /* 3 definitions in type refinement */ }
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
addHeader[A](headerCodec: HeaderCodec[A]): Typed[Unit, Nothing, A]
Add specified header to the response
- def apply[In0, Err0, Out0](input: HttpCodec[codec.HttpCodecType.Header with Query with codec.HttpCodecType.Method, In0], output: HttpCodec[codec.HttpCodecType.Header, Out0], error: HttpCodec[ResponseType, Err0], doc: Doc = Doc.empty): Typed[In0, Err0, Out0]
- def apply[In0, Out0](input: HttpCodec[codec.HttpCodecType.Header with Query with codec.HttpCodecType.Method, In0], output: HttpCodec[codec.HttpCodecType.Header, Out0], doc: Doc): Typed[In0, Nothing, Out0]
- def apply[In0, Out0](input: HttpCodec[codec.HttpCodecType.Header with Query with codec.HttpCodecType.Method, In0], output: HttpCodec[codec.HttpCodecType.Header, Out0]): Typed[In0, Nothing, Out0]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val auth: Typed[Authorization, Nothing, Unit]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
- val cors: Typed[CorsInput, CorsError, CorsOutput]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val none: None
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def requireHeader[A](codec: HeaderCodec[A]): Typed[A, Nothing, Unit]
- def setCookie: Typed[SetCookie, Nothing, Unit]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... )
- object None extends EndpointMiddleware with Product with Serializable