http4k / org.http4k.filter / RequestFilters
object RequestFilters
Name | Summary |
---|---|
GunZip | Basic UnGZipping of Request.object GunZip |
GZip | Basic GZipping of Request.object GZip |
ProxyHost | Sets the host on an outbound request from the Host header of the incoming request. This is useful for implementing proxies. Note the use of the ProxyProtocolMode to set the outbound schemeobject ProxyHost |
ProxyProtocolMode | enum class ProxyProtocolMode |
Tap | Intercept the request before it is sent to the next service.object Tap |
Name | Summary |
---|---|
Base64DecodeBody | Some platforms deliver bodies as Base64 encoded strings.fun Base64DecodeBody(): <ERROR CLASS> |
Name | Summary |
---|---|
Assert | Perform an assertThat on the incoming Request as a Filter operationfun RequestFilters .Assert(matcher: Matcher< Request >): <ERROR CLASS> Perform an assertion on the incoming Request as a Filter operation fun RequestFilters .Assert(match: Matcher< HttpMessage >): <ERROR CLASS> |