Module io.helidon.webclient.api
Package io.helidon.webclient.api
Class HttpConfigBase.BuilderBase.HttpConfigBaseImpl
java.lang.Object
io.helidon.webclient.api.HttpConfigBase.BuilderBase.HttpConfigBaseImpl
- All Implemented Interfaces:
Prototype.Api
,HttpConfigBase
- Direct Known Subclasses:
HttpClientConfig.BuilderBase.HttpClientConfigImpl
- Enclosing class:
HttpConfigBase.BuilderBase<BUILDER extends HttpConfigBase.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends HttpConfigBase>
protected static class HttpConfigBase.BuilderBase.HttpConfigBaseImpl
extends Object
implements HttpConfigBase
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.webclient.api.HttpConfigBase
HttpConfigBase.Builder, HttpConfigBase.BuilderBase<BUILDER extends HttpConfigBase.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends HttpConfigBase> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
HttpConfigBaseImpl
(HttpConfigBase.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionConnect timeout.boolean
boolean
Whether to follow redirects.int
hashCode()
boolean
Determines if connection keep alive is enabled (NOT socket keep alive, but HTTP connection keep alive, to re-use the same connection for multiple requests).int
Max number of followed redirects.Properties configured for this client.proxy()
Proxy configuration to be used for requests.Read timeout.tls()
TLS configuration for any TLS request from this client.toString()
-
Constructor Details
-
HttpConfigBaseImpl
Create an instance providing a builder.- Parameters:
builder
- extending builder base of this prototype
-
-
Method Details
-
followRedirects
public boolean followRedirects()Description copied from interface:HttpConfigBase
Whether to follow redirects.- Specified by:
followRedirects
in interfaceHttpConfigBase
- Returns:
- whether to follow redirects
-
maxRedirects
public int maxRedirects()Description copied from interface:HttpConfigBase
Max number of followed redirects. This is ignored ifHttpConfigBase.followRedirects()
option isfalse
.- Specified by:
maxRedirects
in interfaceHttpConfigBase
- Returns:
- max number of followed redirects
-
tls
Description copied from interface:HttpConfigBase
TLS configuration for any TLS request from this client. TLS can also be configured per request. TLS is used when the protocol is set tohttps
.- Specified by:
tls
in interfaceHttpConfigBase
- Returns:
- TLS configuration to use
-
readTimeout
Description copied from interface:HttpConfigBase
Read timeout.- Specified by:
readTimeout
in interfaceHttpConfigBase
- Returns:
- read timeout
- See Also:
-
connectTimeout
Description copied from interface:HttpConfigBase
Connect timeout.- Specified by:
connectTimeout
in interfaceHttpConfigBase
- Returns:
- connect timeout
- See Also:
-
keepAlive
public boolean keepAlive()Description copied from interface:HttpConfigBase
Determines if connection keep alive is enabled (NOT socket keep alive, but HTTP connection keep alive, to re-use the same connection for multiple requests).- Specified by:
keepAlive
in interfaceHttpConfigBase
- Returns:
- keep alive for this connection
- See Also:
-
proxy
Description copied from interface:HttpConfigBase
Proxy configuration to be used for requests.- Specified by:
proxy
in interfaceHttpConfigBase
- Returns:
- proxy to use, defaults to
Proxy.noProxy()
-
properties
Description copied from interface:HttpConfigBase
Properties configured for this client. These properties are propagated through client request, to be used by services (and possibly for other purposes).- Specified by:
properties
in interfaceHttpConfigBase
- Returns:
- map of client properties
-
toString
-
equals
-
hashCode
public int hashCode()
-