org.kde.qt
public class QHttp extends QNetworkProtocol
| Field Summary | |
|---|---|
| static int | Aborted |
| static int | Closing |
| static int | Connected |
| static int | Connecting |
| static int | ConnectionRefused |
| static int | HostLookup |
| static int | HostNotFound |
| static int | InvalidResponseHeader |
| static int | NoError |
| static int | Reading |
| static int | Sending |
| static int | Unconnected |
| static int | UnexpectedClose |
| static int | UnknownError |
| static int | WrongContentLength |
| Constructor Summary | |
|---|---|
| protected | QHttp(Class dummy) |
| QHttp() | |
| QHttp(QObject parent, String name) | |
| QHttp(QObject parent) | |
| QHttp(String hostname, short port, QObject parent, String name) | |
| QHttp(String hostname, short port, QObject parent) | |
| QHttp(String hostname, short port) | |
| QHttp(String hostname) | |
| Method Summary | |
|---|---|
| void | abort() |
| long | bytesAvailable() |
| String | className() |
| void | clearPendingRequests() |
| int | closeConnection() |
| QIODeviceInterface | currentDestinationDevice() |
| int | currentId() |
| QHttpRequestHeader | currentRequest() |
| QIODeviceInterface | currentSourceDevice() |
| void | dispose() Delete the wrapped C++ instance ahead of finalize() |
| int | error() |
| String | errorString() |
| protected void | finalize() Deletes the wrapped C++ instance |
| int | get(String path, QIODeviceInterface to) |
| int | get(String path) |
| boolean | hasPendingRequests() |
| int | head(String path) |
| boolean | isDisposed() Has the wrapped C++ instance been deleted? |
| QMetaObject | metaObject() |
| protected void | operationGet(QNetworkOperation op) |
| protected void | operationPut(QNetworkOperation op) |
| int | post(String path, QIODeviceInterface data, QIODeviceInterface to) |
| int | post(String path, QIODeviceInterface data) |
| int | post(String path, byte[] data, QIODeviceInterface to) |
| int | post(String path, byte[] data) |
| byte[] | readAll() |
| long | readBlock(StringBuffer data, long maxlen) |
| int | request(QHttpRequestHeader header, QIODeviceInterface device, QIODeviceInterface to) |
| int | request(QHttpRequestHeader header, QIODeviceInterface device) |
| int | request(QHttpRequestHeader header) |
| int | request(QHttpRequestHeader header, byte[] data, QIODeviceInterface to) |
| int | request(QHttpRequestHeader header, byte[] data) |
| int | setHost(String hostname, short port) |
| int | setHost(String hostname) |
| int | state() |
| int | supportedOperations() |
| protected void | timerEvent(QTimerEvent arg1) |
| static String | tr(String arg1, String arg2) |
| static String | tr(String arg1) |