@ Override protected void sendDispositionHeader ( final OutputStream out ) throws IOException { if ( DEBUG ) { Log . v ( "FilePart" , "enter sendDispositionHeader(OutputStream out)" ) ; } super . sendDispositionHeader ( out ) ; final String filename = this . source . getFileName ( ) ; if ( filename != null ) { out . write ( FILE_NAME_BYTES ) ; out . write ( QUOTE_BYTES ) ; out . write ( EncodingUtils . getAsciiBytes ( filename ) ) ; out . write ( QUOTE_BYTES ) ; } }
Write the disposition header to the output stream .