Class MultipartMixedHttpMessageConverter.MultipartHttpOutputMessage

  • All Implemented Interfaces:
    org.springframework.http.HttpMessage, org.springframework.http.HttpOutputMessage
    Enclosing class:
    MultipartMixedHttpMessageConverter

    protected static class MultipartMixedHttpMessageConverter.MultipartHttpOutputMessage
    extends java.lang.Object
    implements org.springframework.http.HttpOutputMessage
    Implementation of HttpOutputMessage used to write a MIME multipart.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected byte[] getAsciiBytes​(java.lang.String name)  
      java.io.OutputStream getBody()  
      org.springframework.http.HttpHeaders getHeaders()  
      protected void writeHeaderEntry​(java.util.Map.Entry<java.lang.String,​java.util.List<java.lang.String>> entry)  
      protected void writeHeaders()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MultipartHttpOutputMessage

        public MultipartHttpOutputMessage​(java.io.OutputStream outputStream)
    • Method Detail

      • getHeaders

        public org.springframework.http.HttpHeaders getHeaders()
        Specified by:
        getHeaders in interface org.springframework.http.HttpMessage
      • getBody

        public java.io.OutputStream getBody()
                                     throws java.io.IOException
        Specified by:
        getBody in interface org.springframework.http.HttpOutputMessage
        Throws:
        java.io.IOException
      • writeHeaders

        protected void writeHeaders()
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • writeHeaderEntry

        protected void writeHeaderEntry​(java.util.Map.Entry<java.lang.String,​java.util.List<java.lang.String>> entry)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • getAsciiBytes

        protected byte[] getAsciiBytes​(java.lang.String name)