object EndpointMiddleware
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- EndpointMiddleware
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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[Header with Query with Method, In0], output: HttpCodec[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[Header with Query with Method, In0], output: HttpCodec[Header, Out0], error: HttpCodec[ResponseType, Err0], doc: Doc = Doc.empty): Typed[In0, Err0, Out0]
- def apply[In0, Out0](input: HttpCodec[Header with Query with Method, In0], output: HttpCodec[Header, Out0], doc: Doc): Typed[In0, Nothing, Out0]
- def apply[In0, Out0](input: HttpCodec[Header with Query with Method, In0], output: HttpCodec[Header, Out0]): Typed[In0, Nothing, Out0]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val auth: Typed[WWWAuthenticate, Nothing, Unit]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def cookie: Typed[RequestCookie, Nothing, Unit]
- val cors: Typed[CorsInput, CorsError, CorsOutput]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def requireHeader[A](codec: HeaderCodec[A]): Typed[A, 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- case object None extends EndpointMiddleware with Product with Serializable