Class SerializedObjectWrapper
java.lang.Object
org.infinispan.commons.marshall.WrappedByteArray
org.infinispan.commons.marshall.SerializedObjectWrapper
- All Implemented Interfaces:
WrappedBytes
Wrapper that extends WrappedByteArray to signal that the byte array contains a serialized object
that must be deserialized when decoding from application/octet-stream media type.
- Since:
- 16.2
-
Field Summary
Fields inherited from class WrappedByteArray
EMPTY_BYTES -
Constructor Summary
ConstructorsConstructorDescriptionSerializedObjectWrapper(byte[] bytes) SerializedObjectWrapper(byte[] bytes, int hashCode) -
Method Summary
Methods inherited from class WrappedByteArray
backArrayOffset, equals, equalsWrappedBytes, getByte, getBytes, getLength, hashCode
-
Constructor Details
-
SerializedObjectWrapper
@ProtoFactory public SerializedObjectWrapper(byte[] bytes) -
SerializedObjectWrapper
public SerializedObjectWrapper(byte[] bytes, int hashCode)
-
-
Method Details
-
toString
- Overrides:
toStringin classWrappedByteArray
-