Module io.helidon.webclient.http1
Package io.helidon.webclient.http1
Class Http1ClientProtocolConfig.BuilderBase.Http1ClientProtocolConfigImpl
java.lang.Object
io.helidon.webclient.http1.Http1ClientProtocolConfig.BuilderBase.Http1ClientProtocolConfigImpl
- All Implemented Interfaces:
- Prototype.Api,- NamedService,- Http1ClientProtocolConfig,- ProtocolConfig
- Enclosing class:
- Http1ClientProtocolConfig.BuilderBase<BUILDER extends Http1ClientProtocolConfig.BuilderBase<BUILDER,- PROTOTYPE>, - PROTOTYPE extends Http1ClientProtocolConfig> 
protected static class Http1ClientProtocolConfig.BuilderBase.Http1ClientProtocolConfigImpl
extends Object
implements Http1ClientProtocolConfig
Generated implementation of the prototype, can be extended by descendant prototype implementations.
- 
Nested Class SummaryNested classes/interfaces inherited from interface io.helidon.webclient.http1.Http1ClientProtocolConfigHttp1ClientProtocolConfig.Builder, Http1ClientProtocolConfig.BuilderBase<BUILDER extends Http1ClientProtocolConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends Http1ClientProtocolConfig> 
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedCreate an instance providing a builder.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanWhether to use keep alive by default.booleaninthashCode()intConfigure the maximum allowed header size of the response.intConfigure the maximum allowed length of the status line from the response.name()Name of this implementation, as provided inConfiguredProvider.create(Config, String).toString()default Stringtype()Type of this implementation, to distinguish instances of same type, with differentNamedService.name().booleanSets whether the request header format is validated or not.booleanSets whether the response header format is validated or not.
- 
Constructor Details- 
Http1ClientProtocolConfigImplCreate an instance providing a builder.- Parameters:
- builder- extending builder base of this prototype
 
 
- 
- 
Method Details- 
nameDescription copied from interface:NamedServiceName of this implementation, as provided inConfiguredProvider.create(Config, String).- Specified by:
- namein interface- Http1ClientProtocolConfig
- Specified by:
- namein interface- NamedService
- Returns:
- name of this service
 
- 
defaultKeepAlivepublic boolean defaultKeepAlive()Description copied from interface:Http1ClientProtocolConfigWhether to use keep alive by default.- Specified by:
- defaultKeepAlivein interface- Http1ClientProtocolConfig
- Returns:
- truefor keeping connections alive and re-using them for multiple requests (default),- falseto create a new connection for each request
 
- 
maxHeaderSizepublic int maxHeaderSize()Description copied from interface:Http1ClientProtocolConfigConfigure the maximum allowed header size of the response.- Specified by:
- maxHeaderSizein interface- Http1ClientProtocolConfig
- Returns:
- maximum header size
 
- 
maxStatusLineLengthpublic int maxStatusLineLength()Description copied from interface:Http1ClientProtocolConfigConfigure the maximum allowed length of the status line from the response.- Specified by:
- maxStatusLineLengthin interface- Http1ClientProtocolConfig
- Returns:
- maximum status line length
 
- 
validateRequestHeaderspublic boolean validateRequestHeaders()Description copied from interface:Http1ClientProtocolConfigSets whether the request header format is validated or not.Defaults to falseas user has control on the header creation.- Specified by:
- validateRequestHeadersin interface- Http1ClientProtocolConfig
- Returns:
- whether request header validation should be enabled
 
- 
validateResponseHeaderspublic boolean validateResponseHeaders()Description copied from interface:Http1ClientProtocolConfigSets whether the response header format is validated or not.Defaults to true.- Specified by:
- validateResponseHeadersin interface- Http1ClientProtocolConfig
- Returns:
- whether response header validation should be enabled
 
- 
toString
- 
equals
- 
hashCodepublic int hashCode()
- 
typeDescription copied from interface:NamedServiceType of this implementation, to distinguish instances of same type, with differentNamedService.name(). Use for exampleConfiguredProvider.configKey()to define the type.- Specified by:
- typein interface- NamedService
- Returns:
- type of this service
 
 
-