PortMapperDsl

A Kotlin DSL to configure a PortMapper for HttpSecurity using idiomatic Kotlin code.

Author

Eleftheria Stein

Since

5.3

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
var portMapper: PortMapper?

allows specifying the PortMapper instance.

Functions

Link copied to clipboard
fun map(fromPort: Int, toPort: Int)

Adds a mapping to the port mapper.