Package org.infinispan.protostream
Interface UnknownFieldSetHandler<T>
-
@Deprecated public interface UnknownFieldSetHandler<T>
Deprecated.since 4.3.1. This will be removed together withMessageMarshaller
An interface to be implemented by marshaller objects of typeMessageMarshaller
) that are able to handle unknown fields by storing them into anUnknownFieldSet
.- Since:
- 3.0
- Author:
- [email protected]
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description UnknownFieldSet
getUnknownFieldSet(T message)
Deprecated.Extract theUnknownFieldSet
that was previously attached to a message during unmarshalling.void
setUnknownFieldSet(T message, UnknownFieldSet unknownFieldSet)
Deprecated.Attach a non-emptyUnknownFieldSet
to a message that was newly unmarshalled.
-
-
-
Method Detail
-
getUnknownFieldSet
UnknownFieldSet getUnknownFieldSet(T message)
Deprecated.Extract theUnknownFieldSet
that was previously attached to a message during unmarshalling.- Returns:
- the UnknownFieldSet or
null
-
setUnknownFieldSet
void setUnknownFieldSet(T message, UnknownFieldSet unknownFieldSet)
Deprecated.Attach a non-emptyUnknownFieldSet
to a message that was newly unmarshalled.
-
-