Class FederationGatewayHttpMessageConverter

  • All Implemented Interfaces:
    org.springframework.http.converter.HttpMessageConverter<DiagnosisKeyBatch>

    public class FederationGatewayHttpMessageConverter
    extends org.springframework.http.converter.AbstractHttpMessageConverter<DiagnosisKeyBatch>
    Converter for converting federation gateway HTTP responses into DiagnosisKeyBatch objects.
    • Field Detail

      • PROTOBUF

        public static final org.springframework.http.MediaType PROTOBUF
        The media-type for protobuf application/protobuf.
    • Constructor Detail

      • FederationGatewayHttpMessageConverter

        public FederationGatewayHttpMessageConverter()
    • Method Detail

      • supports

        protected boolean supports​(Class<?> clazz)
        Specified by:
        supports in class org.springframework.http.converter.AbstractHttpMessageConverter<DiagnosisKeyBatch>
      • writeInternal

        protected void writeInternal​(DiagnosisKeyBatch message,
                                     org.springframework.http.HttpOutputMessage outputMessage)
        Specified by:
        writeInternal in class org.springframework.http.converter.AbstractHttpMessageConverter<DiagnosisKeyBatch>