object MiddlewareSpec extends Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MiddlewareSpec
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
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 addCookie: MiddlewareSpec[Unit, Cookie[Response]]
- def addCorrelationId: MiddlewareSpec[Unit, String]
- def addHeader(header: Header): MiddlewareSpec[Unit, Unit]
- def addHeader(key: String, value: String): MiddlewareSpec[Unit, Unit]
Add specified header to the response
- def addHeaders(headers: Headers): MiddlewareSpec[Unit, Unit]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def auth: MiddlewareSpec[Credentials, Unit]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def cookie(cookieName: String): MiddlewareSpec[Cookie[Request], Unit]
- def cookieOption(cookieName: String): MiddlewareSpec[Option[Cookie[Request]], Unit]
- def cors: MiddlewareSpec[(Method, Option[Origin], Option[AccessControlRequestMethod]), Unit]
- def csrfValidate(tokenName: String): MiddlewareSpec[CsrfValidate, Unit]
- def customAuth[I](headerCodec: HeaderCodec[I]): MiddlewareSpec[I, Unit]
- 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
- def none: MiddlewareSpec[Unit, Unit]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def requireHeader(name: String): MiddlewareSpec[String, 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])
- def withAccept: MiddlewareSpec[Unit, Accept]
- def withAcceptEncoding: MiddlewareSpec[Unit, AcceptEncoding]
- def withAcceptLanguage: MiddlewareSpec[Unit, AcceptLanguage]
- def withAcceptPatch: MiddlewareSpec[Unit, AcceptPatch]
- def withAcceptRanges: MiddlewareSpec[Unit, AcceptRanges]
- def withAccessControlAllowCredentials: MiddlewareSpec[Unit, AccessControlAllowCredentials]
- def withAccessControlAllowMaxAge: MiddlewareSpec[Unit, AccessControlMaxAge]
- def withAccessControlAllowMethods: MiddlewareSpec[Unit, AccessControlAllowMethods]
- def withAccessControlAllowOrigin: MiddlewareSpec[Unit, AccessControlAllowOrigin]
- def withAuthorization(value: CharSequence): MiddlewareSpec[Unit, Unit]
- def withBasicAuthorization(username: String, password: String): MiddlewareSpec[Unit, Unit]
- def withConnection: MiddlewareSpec[Unit, Connection]
- def withContentBase: MiddlewareSpec[Unit, ContentBase]
- def withContentDisposition: MiddlewareSpec[Unit, ContentDisposition]
- def withContentEncoding: MiddlewareSpec[Unit, ContentEncoding]
- def withContentLanguage: MiddlewareSpec[Unit, ContentLanguage]
- def withContentLength: MiddlewareSpec[Unit, ContentLength]
- def withContentLocation: MiddlewareSpec[Unit, ContentLocation]
- def withContentMd5: MiddlewareSpec[Unit, ContentMd5]
- def withContentRange: MiddlewareSpec[Unit, ContentRange]
- def withContentSecurityPolicy: MiddlewareSpec[Unit, ContentSecurityPolicy]
- def withContentTransferEncoding: MiddlewareSpec[Unit, ContentTransferEncoding]
- def withContentType: MiddlewareSpec[Unit, ContentType]
- def withExpires: MiddlewareSpec[Unit, Expires]
- def withIfRange: MiddlewareSpec[Unit, IfRange]
- def withProxyAuthenticate: MiddlewareSpec[Unit, ProxyAuthenticate]
- def withProxyAuthorization: MiddlewareSpec[Unit, ProxyAuthorization]
- def withReferer: MiddlewareSpec[Unit, Referer]
- def withRetryAfter: MiddlewareSpec[Unit, RetryAfter]
- def withTransferEncoding: MiddlewareSpec[Unit, TransferEncoding]