- All Superinterfaces:
- ReleasableResource
- All Known Implementing Classes:
- TcpClientConnection
Client connection.
 This allows usage of a custom connection for testing - see 
DirectClient class.- 
Method SummaryModifier and TypeMethodDescriptiondefault booleanCheck whether this connection is allowed to send 100-Continue.default voidallowExpectContinue(boolean allowExpectContinue) Set whether this connection allows 100-Continue to be sent.Channel id, mostly used in logs.AssociatedHelidonSocket.reader()Data reader providing response bytes.voidreadTimeout(Duration readTimeout) Read timeout for this connection.writer()Data writer the client request writes to.Methods inherited from interface io.helidon.webclient.api.ReleasableResourcecloseResource, releaseResource
- 
Method Details- 
readerDataReader reader()Data reader providing response bytes.- Returns:
- reader to read from this connection
 
- 
writerDataWriter writer()Data writer the client request writes to.- Returns:
- writer to write to this connection
 
- 
channelIdString channelId()Channel id, mostly used in logs.- Returns:
- id of this channel (connection)
 
- 
helidonSocketHelidonSocket helidonSocket()AssociatedHelidonSocket.- Returns:
- socket of this connection
 
- 
readTimeoutRead timeout for this connection.- Parameters:
- readTimeout- connection read timeout
 
- 
allowExpectContinuedefault boolean allowExpectContinue()Check whether this connection is allowed to send 100-Continue.- Returns:
- whether 100-Continue is allowed
 
- 
allowExpectContinuedefault void allowExpectContinue(boolean allowExpectContinue) Set whether this connection allows 100-Continue to be sent.- Parameters:
- allowExpectContinue- whether to allow 100-Continue
 
 
-