Class PartToHttpEntityConverter

  • All Implemented Interfaces:
    org.springframework.core.convert.converter.Converter<org.springframework.http.codec.multipart.Part,​org.springframework.http.HttpEntity<?>>

    public class PartToHttpEntityConverter
    extends Object
    implements org.springframework.core.convert.converter.Converter<org.springframework.http.codec.multipart.Part,​org.springframework.http.HttpEntity<?>>
    The part to http entity converter.
    Author:
    Christian Bremer
    • Constructor Detail

      • PartToHttpEntityConverter

        public PartToHttpEntityConverter()
    • Method Detail

      • convert

        public org.springframework.http.HttpEntity<?> convert​(org.springframework.http.codec.multipart.Part source)
        Specified by:
        convert in interface org.springframework.core.convert.converter.Converter<org.springframework.http.codec.multipart.Part,​org.springframework.http.HttpEntity<?>>