Interface XForwardedForSelector


public interface XForwardedForSelector
Selects the client address from the X-Forwarded-For header.

Register a single CDI bean implementing this interface. The same bean is applied to the main HTTP interface and, when the corresponding quarkus.management.proxy.* properties are enabled, to the management interface.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the chosen client address, or null or a blank value to reject the request with a 400 Bad Request.
  • Method Details

    • select

      Returns the chosen client address, or null or a blank value to reject the request with a 400 Bad Request. Surrounding whitespace is trimmed from the returned address.