net/src/main/java/com/stanfy/enroscar/rest/request/net/multipart/FilePart.java
@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);
    }
  }
@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);
    }
  }
@ 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.
@param out The output stream
@throws IOException If an IO problem occurs
@see Part#sendDispositionHeader(OutputStream)
Write the disposition header to the output stream .