Class ServerPropertyAdapters

java.lang.Object
org.springframework.boot.web.server.autoconfigure.ServerPropertyAdapters

public final class ServerPropertyAdapters extends Object
PropertyMapper adapters for ServerProperties.
Since:
4.2.0
  • Method Details

    • webServerForwardedRequestHeaders

      public static org.springframework.boot.context.properties.PropertyMapper.Source.Adapter<ServerProperties, ForwardedRequestHeaders> webServerForwardedRequestHeaders(@Nullable org.springframework.core.env.Environment environment)
      Return an PropertyMapper.Source.Adapter that converts ServerProperties to ForwardedRequestHeaders.
      Parameters:
      environment - the environment or null
      Returns:
      the properties adapter