Class Marc21Decoder

java.lang.Object
de.kaiserpfalzedv.services.dnb.client.Marc21Decoder
All Implemented Interfaces:
feign.codec.Decoder

@Service public class Marc21Decoder extends Object implements feign.codec.Decoder

DnbConvertMarc21StreamFilter -- Converts the MARC21-xml into a List<Book> json list.

Since:
1.0.0 2023-01-22
Author:
klenkes74 <rlichti@kaiserpfalz-edv.de>
  • Constructor Details

    • Marc21Decoder

      @Inject public Marc21Decoder(MarcConverter converter)
  • Method Details

    • decode

      public Object decode(feign.Response response, Type type) throws IOException, feign.codec.DecodeException, feign.FeignException
      Specified by:
      decode in interface feign.codec.Decoder
      Throws:
      IOException
      feign.codec.DecodeException
      feign.FeignException