question: protected void prepareConnection ( HttpURLConnection con , int contentLength ) throws IOException { super . prepareConnection ( con , contentLength ) ; if ( getReadTimeout ( ) != - 1 ) { con . setReadTimeout ( getReadTimeout ( ) ) ; } }
target:  Prepare the given HTTP connection. <p>The default implementation specifies POST as method, "application/x-java-serialized-object" as "Content-Type" header, and the given content length as "Content-Length" header.