public final class ResponseBytes<ResponseT> extends BytesWrapper
getObjectBytes. Can also be retrieved by passing
ResponseTransformer.toBytes() or AsyncResponseTransformer.toBytes() to a streaming output operation.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static <ResponseT> |
fromByteArray(ResponseT response,
byte[] bytes) |
int |
hashCode() |
ResponseT |
response() |
String |
toString() |
asByteArray, asByteBuffer, asInputStream, asString, asUtf8Stringpublic static <ResponseT> ResponseBytes<ResponseT> fromByteArray(ResponseT response, byte[] bytes)
public ResponseT response()
public boolean equals(Object o)
equals in class BytesWrapperpublic int hashCode()
hashCode in class BytesWrapperCopyright © 2019. All rights reserved.