HttpAppSyntax

final implicit class HttpAppSyntax[-R, +E](val http: HttpApp[R, E]) extends HeaderModifier[HttpApp[R, E]]
trait HeaderModifier[HttpApp[R, E]]
class Object
trait Matchable
class Any

Value members

Concrete methods

def patch(patch: Patch): HttpApp[R, E]

Patches the response produced by the app

Patches the response produced by the app

def setMethod(method: Method): HttpApp[R, E]

Overwrites the method in the incoming request

Overwrites the method in the incoming request

def setPath(path: Path): HttpApp[R, E]

Overwrites the path in the incoming request

Overwrites the path in the incoming request

def setStatus(status: Status): HttpApp[R, E]

Sets the status in the response produced by the app

Sets the status in the response produced by the app

def setUrl(url: URL): HttpApp[R, E]

Overwrites the url in the incoming request

Overwrites the url in the incoming request

override def updateHeaders(update: Headers => Headers): HttpApp[R, E]

Updates the response headers using the provided function

Updates the response headers using the provided function

Definition Classes
def whenPathEq(p: Path): HttpApp[R, E]

Applies Http based on the path

Applies Http based on the path

def whenPathEq(p: String): HttpApp[R, E]

Applies Http based on the path as string

Applies Http based on the path as string

Inherited methods

final def addHeader(name: CharSequence, value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def addHeader(header: Header): HttpApp[R, E]
Inherited from:
HeaderModifier
final def addHeaders(headers: Headers): HttpApp[R, E]
Inherited from:
HeaderModifier
final def removeHeader(name: String): HttpApp[R, E]
Inherited from:
HeaderModifier
final def removeHeaders(headers: List[String]): HttpApp[R, E]
Inherited from:
HeaderModifier
final def setHeaders(headers: Headers): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withAccept(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withAcceptCharset(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withAcceptEncoding(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withAcceptLanguage(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withAcceptPatch(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withAcceptRanges(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
Inherited from:
HeaderModifier
final def withAccessControlAllowHeaders(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withAccessControlAllowMethods(value: Method*): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withAccessControlAllowOrigin(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withAccessControlExposeHeaders(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withAccessControlMaxAge(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withAccessControlRequestHeaders(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
Inherited from:
HeaderModifier
final def withAge(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withAllow(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withAuthorization(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withBasicAuthorization(username: String, password: String): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withCacheControl(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withCacheControlMaxAge(value: Duration): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withConnection(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withContentBase(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withContentDisposition(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withContentEncoding(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withContentLanguage(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withContentLength(value: Long): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withContentLocation(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withContentMd5(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withContentRange(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withContentSecurityPolicy(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withContentTransferEncoding(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withContentType(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withCookie(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withDate(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withDnt(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withEtag(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withExpect(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withExpires(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withFrom(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withHost(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withIfMatch(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withIfModifiedSince(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withIfNoneMatch(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withIfRange(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withIfUnmodifiedSince(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withLastModified(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withLocation(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withMaxForwards(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
def withMediaType(mediaType: MediaType): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withOrigin(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withPragma(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withProxyAuthenticate(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withProxyAuthorization(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withRange(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withReferer(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withRetryAfter(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withSecWebSocketAccept(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withSecWebSocketExtensions(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withSecWebSocketKey(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withSecWebSocketLocation(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withSecWebSocketOrigin(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withSecWebSocketProtocol(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withSecWebSocketVersion(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withServer(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withSetCookie(value: Cookie): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withTe(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withTrailer(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withTransferEncoding(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withUpgrade(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withUpgradeInsecureRequests(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withUserAgent(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withVary(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withVia(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withWarning(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withWebSocketLocation(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withWebSocketOrigin(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withWebSocketProtocol(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withWwwAuthenticate(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withXFrameOptions(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier
final def withXRequestedWith(value: CharSequence): HttpApp[R, E]
Inherited from:
HeaderModifier

Concrete fields

val http: HttpApp[R, E]