Module io.helidon.webclient.api
Package io.helidon.webclient.api
Class WebClientServiceResponse.BuilderBase.WebClientServiceResponseImpl
java.lang.Object
io.helidon.webclient.api.WebClientServiceResponse.BuilderBase.WebClientServiceResponseImpl
- All Implemented Interfaces:
Prototype.Api,WebClientServiceResponse
- Enclosing class:
WebClientServiceResponse.BuilderBase<BUILDER extends WebClientServiceResponse.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends WebClientServiceResponse>
protected static class WebClientServiceResponse.BuilderBase.WebClientServiceResponseImpl
extends Object
implements WebClientServiceResponse
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.WebClientServiceResponse
WebClientServiceResponse.Builder, WebClientServiceResponse.BuilderBase<BUILDER extends WebClientServiceResponse.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends WebClientServiceResponse> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreate an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionClient connection/stream that was used to handle this request.booleaninthashCode()headers()Received response headers.Input stream to get data of the entity.The service request used to invoke the final call.status()Status of the response.toString()trailers()Received response trailer headers.Completable future to be completed by the client response when the entity is fully read.
-
Constructor Details
-
WebClientServiceResponseImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
headers
Description copied from interface:WebClientServiceResponseReceived response headers.- Specified by:
headersin interfaceWebClientServiceResponse- Returns:
- immutable response headers
-
trailers
Description copied from interface:WebClientServiceResponseReceived response trailer headers.- Specified by:
trailersin interfaceWebClientServiceResponse- Returns:
- immutable response trailer headers
-
status
Description copied from interface:WebClientServiceResponseStatus of the response.- Specified by:
statusin interfaceWebClientServiceResponse- Returns:
- response status
-
inputStream
Description copied from interface:WebClientServiceResponseInput stream to get data of the entity. This allows decorating the entity (such as decryption). The status, headers are always already read, and the input stream will not provide transfer encoded bytes (e.g. the bytes in the input stream are the entity bytes, regardless of how it is encoded over HTTP).- Specified by:
inputStreamin interfaceWebClientServiceResponse- Returns:
- entity input stream, or empty, if there is no entity
-
connection
Description copied from interface:WebClientServiceResponseClient connection/stream that was used to handle this request. This resource will be closed/released once the entity is fully read, depending on keep alive configuration.- Specified by:
connectionin interfaceWebClientServiceResponse- Returns:
- connection resource
-
whenComplete
Description copied from interface:WebClientServiceResponseCompletable future to be completed by the client response when the entity is fully read.- Specified by:
whenCompletein interfaceWebClientServiceResponse- Returns:
- completable future to be finished by the client response
-
serviceRequest
Description copied from interface:WebClientServiceResponseThe service request used to invoke the final call.- Specified by:
serviceRequestin interfaceWebClientServiceResponse- Returns:
- service request
-
toString
-
equals
-
hashCode
public int hashCode()
-