HttpConnection.connect 方法

定义

Sends the request to the URL given in the constructor.

public void connect()

例外

IOException

This exception thrown if the connection could not be established, or the server responded with a bad status code.

适用于