Class ServerPropertyAdapters
java.lang.Object
org.springframework.boot.web.server.autoconfigure.ServerPropertyAdapters
PropertyMapper adapters for ServerProperties.- Since:
- 4.2.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.boot.context.properties.PropertyMapper.Source.Adapter<ServerProperties, ForwardedRequestHeaders> webServerForwardedRequestHeaders(@Nullable org.springframework.core.env.Environment environment)
-
Method Details
-
webServerForwardedRequestHeaders
public static org.springframework.boot.context.properties.PropertyMapper.Source.Adapter<ServerProperties, ForwardedRequestHeaders> webServerForwardedRequestHeaders(@Nullable org.springframework.core.env.Environment environment) - Parameters:
environment- the environment ornull- Returns:
- the properties adapter
-