Interface XForwardedForSelector.Context

Enclosing interface:
XForwardedForSelector

public static interface XForwardedForSelector.Context
  • Method Summary

    Modifier and Type
    Method
    Description
    io.vertx.core.net.SocketAddress
    Returns the address of the directly connecting client, which cannot be forged.
    io.vertx.core.MultiMap
    Returns the request headers.
    Returns the X-Forwarded-For values, merged across header lines, trimmed, without empty entries and ordered leftmost first.
  • Method Details

    • xForwardedForValues

      List<String> xForwardedForValues()
      Returns the X-Forwarded-For values, merged across header lines, trimmed, without empty entries and ordered leftmost first.
    • connectionPeer

      io.vertx.core.net.SocketAddress connectionPeer()
      Returns the address of the directly connecting client, which cannot be forged.
    • headers

      io.vertx.core.MultiMap headers()
      Returns the request headers.