Class Http1ClientProtocolConfig.BuilderBase.Http1ClientProtocolConfigImpl
java.lang.Object
io.helidon.http.HttpConfig.BuilderBase.HttpConfigImpl
io.helidon.webclient.http1.Http1ClientProtocolConfig.BuilderBase.Http1ClientProtocolConfigImpl
- All Implemented Interfaces:
Prototype.Api, NamedService, HttpConfig, Http1ClientProtocolConfig, ProtocolConfig
- Enclosing class:
Http1ClientProtocolConfig.BuilderBase<BUILDER extends Http1ClientProtocolConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends Http1ClientProtocolConfig>
protected static class Http1ClientProtocolConfig.BuilderBase.Http1ClientProtocolConfigImpl
extends HttpConfig.BuilderBase.HttpConfigImpl
implements Http1ClientProtocolConfig
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Http1ClientProtocolConfig
Http1ClientProtocolConfig.Builder, Http1ClientProtocolConfig.BuilderBase<BUILDER, PROTOTYPE>Modifier and TypeInterfaceDescriptionstatic classFluent API builder forHttp1ClientProtocolConfig.static classHttp1ClientProtocolConfig.BuilderBase<BUILDER extends Http1ClientProtocolConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends Http1ClientProtocolConfig>Fluent API builder base forHttp1ClientProtocolConfig.Nested classes/interfaces inherited from interface HttpConfig
HttpConfig.Builder, HttpConfig.BuilderBase<BUILDER, PROTOTYPE>Modifier and TypeInterfaceDescriptionstatic classFluent API builder forHttpConfig.static classHttpConfig.BuilderBase<BUILDER extends HttpConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends HttpConfig>Fluent API builder base forHttpConfig. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreate an instance providing a builder. -
Method Summary
Methods inherited from class HttpConfig.BuilderBase.HttpConfigImpl
log, maxBufferedEntitySize, maxHeadersSize, validateRequestHeaders, validateResponseHeadersModifier and TypeMethodDescriptionlog()HTTP Log configuration.Configure the maximum size allowed for an entity that can be explicitly buffered by the application by callingio.helidon.http.media.ReadableEntity.buffer().intConfigure the maximum allowed headers size, which must be greater than0.booleanWhether to validate request headers.booleanWhether to validate response headers.Methods inherited from interface Http1ClientProtocolConfig
typeModifier and TypeMethodDescriptiondefault Stringtype()Type of this implementation, to distinguish instances of same type, with differentNamedService.name().
-
Constructor Details
-
Http1ClientProtocolConfigImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
name
Description copied from interface:Http1ClientProtocolConfigName of this protocol configuration.- Specified by:
namein interfaceHttp1ClientProtocolConfig- Specified by:
namein interfaceNamedService- Returns:
- protocol configuration name
-
defaultKeepAlive
public boolean defaultKeepAlive()Description copied from interface:Http1ClientProtocolConfigWhether to use keep alive by default.- Specified by:
defaultKeepAlivein interfaceHttp1ClientProtocolConfig- Returns:
truefor keeping connections alive and re-using them for multiple requests (default),falseto create a new connection for each request
-
maxHeaderSize
Deprecated.Description copied from interface:Http1ClientProtocolConfigConfigure the maximum allowed headers size of the response, which must be greater than0.If both
max-header-sizeandmax-headers-sizeare configured, the deprecatedmax-header-sizekey takes precedence for backward compatibility.- Specified by:
maxHeaderSizein interfaceHttp1ClientProtocolConfig- Returns:
- maximum headers size
-
maxStatusLineLength
public int maxStatusLineLength()Description copied from interface:Http1ClientProtocolConfigConfigure the maximum allowed length of the status line from the response.- Specified by:
maxStatusLineLengthin interfaceHttp1ClientProtocolConfig- Returns:
- maximum status line length
-
toString
- Overrides:
toStringin classHttpConfig.BuilderBase.HttpConfigImpl
-
equals
- Overrides:
equalsin classHttpConfig.BuilderBase.HttpConfigImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classHttpConfig.BuilderBase.HttpConfigImpl
-