RequestHandlerSyntax

zio.http.Handler$.RequestHandlerSyntax
final implicit class RequestHandlerSyntax[-R, +Err](val self: RequestHandler[R, Err]) extends HeaderModifierZIO[RequestHandler[R, Err]]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def patch(patch: Patch)(implicit trace: Trace): RequestHandler[R, Err]

Patches the response produced by the app

Patches the response produced by the app

Attributes

def setMethod(method: Method): RequestHandler[R, Err]

Overwrites the method in the incoming request

Overwrites the method in the incoming request

Attributes

def setPath(path: Path): RequestHandler[R, Err]

Overwrites the path in the incoming request

Overwrites the path in the incoming request

Attributes

def setStatus(status: Status)(implicit trace: Trace): RequestHandler[R, Err]

Sets the status in the response produced by the app

Sets the status in the response produced by the app

Attributes

def setUrl(url: URL): RequestHandler[R, Err]

Overwrites the url in the incoming request

Overwrites the url in the incoming request

Attributes

override def updateHeaders(update: Headers => Headers)(implicit trace: Trace): RequestHandler[R, Err]

Updates the current Headers with new one, using the provided update function passed.

Updates the current Headers with new one, using the provided update function passed.

Attributes

Definition Classes

Inherited methods

final def addHeader(name: CharSequence, value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def addHeader(header: Header)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def addHeaders(headers: Headers)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def removeHeader(name: String)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def removeHeaders(headers: List[String])(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def setHeaders(headers: Headers)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withAccept(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withAcceptEncoding(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withAcceptLanguage(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withAcceptPatch(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withAcceptRanges(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withAccessControlAllowCredentials(value: Boolean)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withAccessControlAllowHeaders(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withAccessControlAllowMethods(value: Method*)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withAccessControlAllowOrigin(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withAccessControlExposeHeaders(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withAccessControlMaxAge(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withAccessControlRequestHeaders(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withAccessControlRequestMethod(value: Method)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withAge(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withAllow(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withAuthorization(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withBasicAuthorization(username: String, password: String)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withCacheControl(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withCacheControlMaxAge(value: Duration)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withConnection(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withContentBase(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withContentDisposition(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withContentEncoding(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withContentLanguage(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withContentLength(value: Long)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withContentLocation(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withContentMd5(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withContentRange(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withContentSecurityPolicy(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withContentTransferEncoding(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withContentType(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withCookie(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withDate(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withDnt(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withEtag(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withExpect(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withExpires(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withFrom(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withHost(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withIfMatch(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withIfModifiedSince(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withIfNoneMatch(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withIfRange(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withIfUnmodifiedSince(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withLastModified(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withLocation(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withMaxForwards(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
def withMediaType(mediaType: MediaType)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withOrigin(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withPragma(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withProxyAuthenticate(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withProxyAuthorization(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withRange(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withReferer(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withRetryAfter(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withSecWebSocketAccept(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withSecWebSocketExtensions(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withSecWebSocketKey(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withSecWebSocketLocation(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withSecWebSocketOrigin(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withSecWebSocketProtocol(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withSecWebSocketVersion(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withServer(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withSetCookie(value: Cookie[Response])(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withTe(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withTrailer(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withTransferEncoding(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withUpgrade(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withUpgradeInsecureRequests(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withUserAgent(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withVary(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withVia(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withWarning(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withWebSocketLocation(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withWebSocketOrigin(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withWebSocketProtocol(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withWwwAuthenticate(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withXFrameOptions(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO
final def withXRequestedWith(value: CharSequence)(implicit trace: Trace): A

Attributes

Inherited from:
HeaderModifierZIO

Concrete fields

val self: RequestHandler[R, Err]