public HttpResponse finish ( ) throws IOException { writer . append ( "--" + boundary + "--" ) . append ( LINE_FEED ) ; writer . flush ( ) ; try { return doFinish ( ) ; } finally { writer . close ( ) ; } }
Completes the request and receives response from the server .