@Generated(value="org.immutables.processor.ProxyProcessor") public final class HttpClientResponseWithBody extends Object implements _HttpClientResponseWithBody
_HttpClientResponseWithBody.
Use the builder to create immutable instances:
HttpClientResponseWithBody.builder().
Use the static factory method to create immutable instances:
HttpClientResponseWithBody.of().
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpClientResponseWithBody.Builder
Builds instances of type
HttpClientResponseWithBody. |
| Modifier and Type | Method and Description |
|---|---|
static HttpClientResponseWithBody.Builder |
builder()
Creates a builder for
HttpClientResponseWithBody. |
boolean |
equals(Object another)
This instance is equal to all instances of
HttpClientResponseWithBody that have equal attribute values. |
reactor.netty.ByteBufFlux |
getBody() |
reactor.netty.http.client.HttpClientResponse |
getResponse() |
int |
hashCode()
Computes a hash code from attributes:
body, response. |
static HttpClientResponseWithBody |
of(reactor.netty.ByteBufFlux body,
reactor.netty.http.client.HttpClientResponse response)
Construct a new immutable
HttpClientResponseWithBody instance. |
String |
toString()
Prints the immutable value
HttpClientResponseWithBody with attribute values. |
public reactor.netty.ByteBufFlux getBody()
getBody in interface _HttpClientResponseWithBodybody attributepublic reactor.netty.http.client.HttpClientResponse getResponse()
getResponse in interface _HttpClientResponseWithBodyresponse attributepublic boolean equals(Object another)
HttpClientResponseWithBody that have equal attribute values.public int hashCode()
body, response.public String toString()
HttpClientResponseWithBody with attribute values.public static HttpClientResponseWithBody of(reactor.netty.ByteBufFlux body, reactor.netty.http.client.HttpClientResponse response)
HttpClientResponseWithBody instance.body - The value for the body attributeresponse - The value for the response attributepublic static HttpClientResponseWithBody.Builder builder()
HttpClientResponseWithBody.
HttpClientResponseWithBody.builder()
.body(reactor.netty.ByteBufFlux) // required body
.response(reactor.netty.http.client.HttpClientResponse) // required response
.build();
Copyright © 2019. All rights reserved.