public class TarantoolRequestBody extends Object implements Packable
| Constructor and Description |
|---|
TarantoolRequestBody()
In rare cases, the body may be empty.
|
TarantoolRequestBody(Map<Integer,?> body,
MessagePackObjectMapper mapper)
Basic constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.msgpack.value.Value |
toMessagePackValue(MessagePackObjectMapper mapper)
Convert this instance into a corresponding MessagePack
Value |
public TarantoolRequestBody()
public TarantoolRequestBody(Map<Integer,?> body, MessagePackObjectMapper mapper) throws TarantoolProtocolException
Map with Integer keys and Object values.
Converts values into MessagePack entities using the passed instance of MessagePackObjectMapper.
See
https://www.tarantool.io/en/doc/2.3/dev_guide/internals/box_protocol/#binary-protocol-requestsbody - request bodymapper - provides mapping for Java objects to MessagePack entitiesTarantoolProtocolException - in case if mapping of body parts to objects failedpublic org.msgpack.value.Value toMessagePackValue(MessagePackObjectMapper mapper)
PackableValuetoMessagePackValue in interface Packablemapper - configured Java objects to entities mapperCopyright © 2025 Picodata. All rights reserved.