Class RequestHolder.UpConverter

    • Constructor Detail

      • UpConverter

        protected UpConverter​(Serializer serializerFrom,
                              Serializer serializerTo)
        Construct the Converter that converts from a Binary serialized in one format to a Binary serialized in a different format.
        Parameters:
        serializerFrom - the Serializer to convert from
        serializerTo - the Serializer to serialize to
    • Method Detail

      • convert

        public Binary convert​(Binary binary)
        Description copied from interface: Converter
        Convert the passed object to another object.
        Specified by:
        convert in interface Converter<Binary,​Binary>
        Parameters:
        binary - the object to convert
        Returns:
        the converted form of the passed object