Class ProxyProtocolConfig.BuilderBase.ProxyProtocolConfigImpl
java.lang.Object
io.helidon.webserver.ProxyProtocolConfig.BuilderBase.ProxyProtocolConfigImpl
- All Implemented Interfaces:
Prototype.Api, ProxyProtocolConfig
- Enclosing class:
ProxyProtocolConfig.BuilderBase<BUILDER extends ProxyProtocolConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends ProxyProtocolConfig>
protected static class ProxyProtocolConfig.BuilderBase.ProxyProtocolConfigImpl
extends Object
implements ProxyProtocolConfig
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ProxyProtocolConfig
ProxyProtocolConfig.Builder, ProxyProtocolConfig.BuilderBase<BUILDER, PROTOTYPE>Modifier and TypeInterfaceDescriptionstatic classFluent API builder forProxyProtocolConfig.static classProxyProtocolConfig.BuilderBase<BUILDER extends ProxyProtocolConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends ProxyProtocolConfig>Fluent API builder base forProxyProtocolConfig. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProxyProtocolConfigImpl(ProxyProtocolConfig.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
-
Constructor Details
-
ProxyProtocolConfigImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
enabled
public boolean enabled()Description copied from interface:ProxyProtocolConfigWhether PROXY protocol support is enabled.- Specified by:
enabledin interfaceProxyProtocolConfig- Returns:
- whether PROXY protocol support is enabled, defaults to
true
-
trustedProxies
Description copied from interface:ProxyProtocolConfigTrusted proxy allow list; required when PROXY protocol support is enabled.When PROXY protocol support is enabled, this list must be configured explicitly. Incoming PROXY protocol headers are accepted only from trusted peers.
- Specified by:
trustedProxiesin interfaceProxyProtocolConfig- Returns:
- trusted proxy allow list
-
toString
-
equals
-
hashCode
-