If an HTTP authentication {@link #getUser() user} and {@link #getPassword() password} is set,the appropriate authentication HTTP header will be sent with the request.
If a {@link #getConnectTimeout() connection timeout} is set, the http connection will be setto respect that timeout.
If a {@link #getReadTimeout() read timeout} is set, the http connection will be set torespect it. @param url the URL against which to execute the POST request @param postContent an input stream with the contents of the POST body @param postContentType the MIME type of the contents sent as the request POST body, can be {@code null} @return the {@link HTTPResponse} encapsulating the response to the HTTP POST request @throws IOException
|
|