object Middleware extends Web
- Alphabetic
- By Inheritance
- Middleware
- Web
- HeaderModifier
- Auth
- Csrf
- Cors
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- final class PartialAllowZIO[A, B] extends AnyVal
- final class PartialCodec[AOut, BIn] extends AnyVal
- final class PartialCodecHttp[AOut, BIn] extends AnyVal
- final class PartialCodecZIO[AOut, BIn] extends AnyVal
- final class PartialCollect[AOut] extends AnyVal
- final class PartialCollectZIO[AOut] extends AnyVal
- final class PartialContraMapZIO[-R, +E, +AIn, -BIn, -AOut, +BOut, AOut0] extends AnyVal
- final class PartialIfThenElse[AOut] extends AnyVal
- final class PartialIfThenElseZIO[AOut] extends AnyVal
- final class PartialIntercept[A, B] extends AnyVal
- final class PartialInterceptOutgoingZIO[-R, +E, A, +S, B] extends AnyVal
- final class PartialInterceptZIO[A, B] extends AnyVal
- final class PartialMono[AOut, BIn] extends AnyVal
- final class PartialMonoZIO[AOut, BIn] extends AnyVal
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
-
final
def
addCookie(cookie: Cookie): HttpMiddleware[Any, Nothing]
Sets cookie in response headers
Sets cookie in response headers
- Definition Classes
- Web
-
final
def
addCookieZIO[R, E](cookie: ZIO[R, E, Cookie]): HttpMiddleware[R, E]
- Definition Classes
- Web
-
final
def
addHeader(name: CharSequence, value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
addHeader(header: Header): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
addHeaders(headers: Headers): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
def
allow[A, B](cond: (A) ⇒ Boolean): Middleware[Any, Nothing, A, B, A, B]
Creates a middleware which can allow or disallow access to an http based on the predicate
-
def
allowZIO[A, B]: PartialAllowZIO[A, B]
Creates a middleware which can allow or disallow access to an http based on the predicate effect
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
basicAuth(u: String, p: String): HttpMiddleware[Any, Nothing]
Creates a middleware for basic authentication that checks if the credentials are same as the ones given
Creates a middleware for basic authentication that checks if the credentials are same as the ones given
- Definition Classes
- Auth
-
final
def
basicAuth(f: (Credentials) ⇒ Boolean): HttpMiddleware[Any, Nothing]
Creates a middleware for basic authentication
Creates a middleware for basic authentication
- Definition Classes
- Auth
-
final
def
basicAuthZIO[R, E](f: (Credentials) ⇒ ZIO[R, E, Boolean]): HttpMiddleware[R, E]
Creates a middleware for basic authentication using an effectful verification function
Creates a middleware for basic authentication using an effectful verification function
- Definition Classes
- Auth
-
final
def
bearerAuth(f: (String) ⇒ Boolean): HttpMiddleware[Any, Nothing]
Creates a middleware for bearer authentication that checks the token using the given function
Creates a middleware for bearer authentication that checks the token using the given function
- Definition Classes
- Auth
-
final
def
bearerAuthZIO[R, E](f: (String) ⇒ ZIO[R, E, Boolean]): HttpMiddleware[R, E]
Creates a middleware for bearer authentication that checks the token using the given effectful function
Creates a middleware for bearer authentication that checks the token using the given effectful function
- Definition Classes
- Auth
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
codec[A, B]: PartialCodec[A, B]
Creates a middleware using the specified encoder and decoder functions
-
def
codecHttp[A, B]: PartialCodecHttp[A, B]
Creates a codec middleware using two Http.
-
def
codecZIO[A, B]: PartialCodecZIO[A, B]
Creates a middleware using specified effectful encoder and decoder
-
def
collect[A]: PartialCollect[A]
Creates a middleware using specified function
-
def
collectZIO[A]: PartialCollectZIO[A]
Creates a middleware using specified effect function
-
final
def
cors[R, E](config: CorsConfig = CorsConfig()): HttpMiddleware[R, E]
Creates a middleware for Cross-Origin Resource Sharing (CORS).
Creates a middleware for Cross-Origin Resource Sharing (CORS).
- Definition Classes
- Cors
- See also
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
-
final
def
csrfGenerate[R, E](tokenName: String = "x-csrf-token", tokenGen: ZIO[R, Nothing, String] = ...): HttpMiddleware[R, E]
Generates a new CSRF token that can be validated using the csrfValidate middleware.
Generates a new CSRF token that can be validated using the csrfValidate middleware.
CSRF middlewares: To prevent Cross-site request forgery attacks. This middleware is modeled after the double submit cookie pattern. Used in conjunction with #csrfValidate middleware.
https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html#double-submit-cookie
- Definition Classes
- Csrf
-
def
csrfValidate(tokenName: String = "x-csrf-token"): HttpMiddleware[Any, Nothing]
Validates the CSRF token appearing in the request headers.
Validates the CSRF token appearing in the request headers. Typically the token should be set using the
csrfGeneratemiddleware.CSRF middlewares : To prevent Cross-site request forgery attacks. This middleware is modeled after the double submit cookie pattern. Used in conjunction with #csrfGenerate middleware
https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html#double-submit-cookie
- Definition Classes
- Csrf
-
final
def
customAuth(verify: (Headers) ⇒ Boolean, responseHeaders: Headers = Headers.empty, responseStatus: Status = Status.Unauthorized): HttpMiddleware[Any, Nothing]
Creates an authentication middleware that only allows authenticated requests to be passed on to the app.
Creates an authentication middleware that only allows authenticated requests to be passed on to the app.
- Definition Classes
- Auth
-
final
def
customAuthZIO[R, E](verify: (Headers) ⇒ ZIO[R, E, Boolean], responseHeaders: Headers = Headers.empty, responseStatus: Status = Status.Unauthorized): HttpMiddleware[R, E]
Creates an authentication middleware that only allows authenticated requests to be passed on to the app using an effectful verification function.
Creates an authentication middleware that only allows authenticated requests to be passed on to the app using an effectful verification function.
- Definition Classes
- Auth
-
final
def
debug: HttpMiddleware[Any, IOException]
Add log status, method, url and time taken from req to res
Add log status, method, url and time taken from req to res
- Definition Classes
- Web
-
final
def
dropTrailingSlash: HttpMiddleware[Any, Nothing]
Removes the trailing slash from the path.
Removes the trailing slash from the path.
- Definition Classes
- Web
-
def
empty: Middleware[Any, Nothing, Nothing, Any, Any, Nothing]
Creates a middleware which returns an empty http value
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
fail[E](e: E): Middleware[Any, E, Nothing, Any, Any, Nothing]
Creates a middleware which always fail with specified error
-
def
fromHttp[R, E, A, B](http: Http[R, E, A, B]): Middleware[R, E, Nothing, Any, A, B]
Creates a middleware with specified http App
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
identity[AIn, BIn, AOut, BOut](implicit ev: IsMono[AIn, BIn, AOut, BOut]): Middleware[Any, Nothing, AIn, BIn, AOut, BOut]
An empty middleware that doesn't do perform any operations on the provided Http and returns it as it is.
-
def
identity[A, B]: MonoMiddleware[Any, Nothing, A, B]
An empty middleware that doesn't do perform any operations on the provided Http and returns it as it is.
-
final
def
ifHeaderThenElse[R, E](cond: (Headers) ⇒ Boolean)(left: HttpMiddleware[R, E], right: HttpMiddleware[R, E]): HttpMiddleware[R, E]
Logical operator to decide which middleware to select based on the header
Logical operator to decide which middleware to select based on the header
- Definition Classes
- Web
-
final
def
ifMethodThenElse[R, E](cond: (Method) ⇒ Boolean)(left: HttpMiddleware[R, E], right: HttpMiddleware[R, E]): HttpMiddleware[R, E]
Logical operator to decide which middleware to select based on the method.
Logical operator to decide which middleware to select based on the method.
- Definition Classes
- Web
-
final
def
ifRequestThenElse[R, E](cond: (Request) ⇒ Boolean)(left: HttpMiddleware[R, E], right: HttpMiddleware[R, E]): HttpMiddleware[R, E]
Logical operator to decide which middleware to select based on the predicate.
Logical operator to decide which middleware to select based on the predicate.
- Definition Classes
- Web
-
final
def
ifRequestThenElseZIO[R, E](cond: (Request) ⇒ ZIO[R, E, Boolean])(left: HttpMiddleware[R, E], right: HttpMiddleware[R, E]): HttpMiddleware[R, E]
Logical operator to decide which middleware to select based on the predicate.
Logical operator to decide which middleware to select based on the predicate.
- Definition Classes
- Web
-
def
ifThenElse[A]: PartialIfThenElse[A]
Logical operator to decide which middleware to select based on the predicate.
-
def
ifThenElseZIO[A]: PartialIfThenElseZIO[A]
Logical operator to decide which middleware to select based on the predicate effect.
-
def
intercept[A, B]: PartialIntercept[A, B]
Creates a new middleware using transformation functions
-
final
def
interceptPatch[S](req: (Request) ⇒ S): PartialInterceptPatch[S]
Creates a new middleware using transformation functions
Creates a new middleware using transformation functions
- Definition Classes
- Web
-
def
interceptZIO[A, B]: PartialInterceptZIO[A, B]
Creates a new middleware using effectful transformation functions
-
final
def
interceptZIOPatch[R, E, S](req: (Request) ⇒ ZIO[R, Option[E], S]): PartialInterceptZIOPatch[R, E, S]
Creates a new middleware using effectful transformation functions
Creates a new middleware using effectful transformation functions
- Definition Classes
- Web
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
final
def
patch[R, E](f: (Response) ⇒ Patch): HttpMiddleware[R, E]
Creates a middleware that produces a Patch for the Response
Creates a middleware that produces a Patch for the Response
- Definition Classes
- Web
-
final
def
patchZIO[R, E](f: (Response) ⇒ ZIO[R, Option[E], Patch]): HttpMiddleware[R, E]
Creates a middleware that produces a Patch for the Response effectfully.
Creates a middleware that produces a Patch for the Response effectfully.
- Definition Classes
- Web
-
final
def
redirect(url: URL, permanent: Boolean): HttpMiddleware[Any, Nothing]
Client redirect temporary or permanent to specified url.
Client redirect temporary or permanent to specified url.
- Definition Classes
- Web
-
final
def
redirectTrailingSlash(permanent: Boolean): HttpMiddleware[Any, Nothing]
Permanent redirect if the trailing slash is present in the request URL.
Permanent redirect if the trailing slash is present in the request URL.
- Definition Classes
- Web
-
final
def
removeHeader(name: String): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
removeHeaders(headers: List[String]): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
runAfter[R, E](effect: ZIO[R, E, Any]): HttpMiddleware[R, E]
Runs the effect after the middleware is applied
Runs the effect after the middleware is applied
- Definition Classes
- Web
-
final
def
runBefore[R, E](effect: ZIO[R, E, Any]): HttpMiddleware[R, E]
Runs the effect before the request is passed on to the HttpApp on which the middleware is applied.
Runs the effect before the request is passed on to the HttpApp on which the middleware is applied.
- Definition Classes
- Web
-
final
def
setHeaders(headers: Headers): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
setStatus(status: Status): HttpMiddleware[Any, Nothing]
Creates a new middleware that always sets the response status to the provided value
Creates a new middleware that always sets the response status to the provided value
- Definition Classes
- Web
-
final
def
signCookies(secret: String): HttpMiddleware[Any, Nothing]
Creates a middleware for signing cookies
Creates a middleware for signing cookies
- Definition Classes
- Web
-
def
succeed[B](b: B): Middleware[Any, Nothing, Nothing, Any, Any, B]
Creates a middleware which always succeed with specified value
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
timeout(duration: zio.Duration): HttpMiddleware[Any, Nothing]
Times out the application with a 408 status code.
Times out the application with a 408 status code.
- Definition Classes
- Web
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
transform[AOut, BIn]: PartialMono[AOut, BIn]
Creates a new middleware using two transformation functions, one that's applied to the incoming type of the Http and one that applied to the outgoing type of the Http.
-
def
transformZIO[AOut, BIn]: PartialMonoZIO[AOut, BIn]
Creates a new middleware using two transformation functions, one that's applied to the incoming type of the Http and one that applied to the outgoing type of the Http.
-
final
def
updateHeaders(update: (Headers) ⇒ Headers): HttpMiddleware[Any, Nothing]
Updates the provided list of headers to the response
Updates the provided list of headers to the response
- Definition Classes
- Web → HeaderModifier
-
final
def
updateResponse[R, E](f: (Response) ⇒ Response): HttpMiddleware[R, E]
Creates a middleware that updates the response produced
Creates a middleware that updates the response produced
- Definition Classes
- Web
-
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( ... )
-
final
def
whenHeader[R, E](cond: (Headers) ⇒ Boolean, middleware: HttpMiddleware[R, E]): HttpMiddleware[R, E]
Applies the middleware only when the condition for the headers are true
Applies the middleware only when the condition for the headers are true
- Definition Classes
- Web
-
final
def
whenRequest[R, E](cond: (Request) ⇒ Boolean)(middleware: HttpMiddleware[R, E]): HttpMiddleware[R, E]
Applies the middleware only if the condition function evaluates to true
Applies the middleware only if the condition function evaluates to true
- Definition Classes
- Web
-
final
def
whenRequestZIO[R, E](cond: (Request) ⇒ ZIO[R, E, Boolean])(middleware: HttpMiddleware[R, E]): HttpMiddleware[R, E]
Applies the middleware only if the condition function effectfully evaluates to true
Applies the middleware only if the condition function effectfully evaluates to true
- Definition Classes
- Web
-
final
def
withAccept(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withAcceptCharset(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withAcceptEncoding(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withAcceptLanguage(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withAcceptPatch(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withAcceptRanges(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withAccessControlAllowCredentials(value: Boolean): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withAccessControlAllowHeaders(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withAccessControlAllowMethods(value: Method*): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withAccessControlAllowOrigin(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withAccessControlExposeHeaders(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withAccessControlMaxAge(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withAccessControlRequestHeaders(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withAccessControlRequestMethod(value: Method): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withAge(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withAllow(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withAuthorization(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withBasicAuthorization(username: String, password: String): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withCacheControl(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withCacheControlMaxAge(value: zio.Duration): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withConnection(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withContentBase(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withContentDisposition(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withContentEncoding(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withContentLanguage(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withContentLength(value: Long): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withContentLocation(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withContentMd5(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withContentRange(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withContentSecurityPolicy(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withContentTransferEncoding(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withContentType(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withCookie(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withDate(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withDnt(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withEtag(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withExpect(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withExpires(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withFrom(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withHost(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withIfMatch(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withIfModifiedSince(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withIfNoneMatch(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withIfRange(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withIfUnmodifiedSince(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withLastModified(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withLocation(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withMaxForwards(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
def
withMediaType(mediaType: MediaType): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withOrigin(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withPragma(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withProxyAuthenticate(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withProxyAuthorization(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withRange(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withReferer(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withRetryAfter(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withSecWebSocketAccept(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withSecWebSocketExtensions(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withSecWebSocketKey(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withSecWebSocketLocation(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withSecWebSocketOrigin(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withSecWebSocketProtocol(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withSecWebSocketVersion(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withServer(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withSetCookie(value: Cookie): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withTe(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withTrailer(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withTransferEncoding(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withUpgrade(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withUpgradeInsecureRequests(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withUserAgent(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withVary(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withVia(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withWarning(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withWebSocketLocation(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withWebSocketOrigin(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withWebSocketProtocol(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withWwwAuthenticate(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withXFrameOptions(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier
-
final
def
withXRequestedWith(value: CharSequence): HttpMiddleware[Any, Nothing]
- Definition Classes
- HeaderModifier