Package com.mongodb.internal.connection
Class ResponseBuffers
java.lang.Object
com.mongodb.internal.connection.ResponseBuffers
- All Implemented Interfaces:
Closeable
,AutoCloseable
Deprecated.
-
Method Details
-
getReplyHeader
Deprecated.Gets the reply header.- Returns:
- the reply header
-
getBodyByteBuffer
Deprecated.Returns a read-only buffer containing the response body. Care should be taken to not use the returned buffer after this instance has been closed.- Returns:
- a read-only buffer containing the response body
-
reset
public void reset()Deprecated. -
close
public void close()Deprecated.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-