|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.network.QNetworkReply.NetworkError
public static final class QNetworkReply.NetworkError
Indicates all possible error conditions found during the processing of the request.
error()
.
Field Summary | |
---|---|
static QNetworkReply.NetworkError |
AuthenticationRequiredError
the remote server requires authentication to serve the content but the credentials provided were not accepted (if any) |
static QNetworkReply.NetworkError |
ConnectionRefusedError
the remote server refused the connection (the server is not accepting requests) |
static QNetworkReply.NetworkError |
ContentAccessDenied
the access to the remote content was denied (similar to HTTP error 401) |
static QNetworkReply.NetworkError |
ContentNotFoundError
the remote content was not found at the server (similar to HTTP error 404) |
static QNetworkReply.NetworkError |
ContentOperationNotPermittedError
the operation requested on the remote content is not permitted |
static QNetworkReply.NetworkError |
HostNotFoundError
the remote host name was not found (invalid hostname) |
static QNetworkReply.NetworkError |
NoError
no error condition |
static QNetworkReply.NetworkError |
OperationCanceledError
the operation was canceled via calls to abort() or close() before it was finished. |
static QNetworkReply.NetworkError |
ProtocolFailure
a breakdown in protocol was detected (parsing error, invalid or unexpected responses, etc.) |
static QNetworkReply.NetworkError |
ProtocolInvalidOperationError
the requested operation is invalid for this protocol |
static QNetworkReply.NetworkError |
ProtocolUnknownError
the Network Access API cannot honor the request because the protocol is not known |
static QNetworkReply.NetworkError |
ProxyAuthenticationRequiredError
the proxy requires authentication in order to honour the request but did not accept any credentials offered (if any) |
static QNetworkReply.NetworkError |
ProxyConnectionClosedError
the proxy server closed the connection prematurely, before the entire reply was received and processed |
static QNetworkReply.NetworkError |
ProxyConnectionRefusedError
the connection to the proxy server was refused (the proxy server is not accepting requests) |
static QNetworkReply.NetworkError |
ProxyNotFoundError
the proxy host name was not found (invalid proxy hostname) |
static QNetworkReply.NetworkError |
ProxyTimeoutError
the connection to the proxy timed out or the proxy did not reply in time to the request sent |
static QNetworkReply.NetworkError |
RemoteHostClosedError
the remote server closed the connection prematurely, before the entire reply was received and processed |
static QNetworkReply.NetworkError |
SslHandshakeFailedError
the SSL/TLS handshake failed and the encrypted channel could not be established. |
static QNetworkReply.NetworkError |
TimeoutError
the connection to the remote server timed out |
static QNetworkReply.NetworkError |
UnknownContentError
an unknonwn error related to the remote content was detected |
static QNetworkReply.NetworkError |
UnknownNetworkError
an unknown network-related error was detected |
static QNetworkReply.NetworkError |
UnknownProxyError
an unknown proxy-related error was detected |
Method Summary | |
---|---|
static QNetworkReply.NetworkError |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QNetworkReply.NetworkError |
valueOf(java.lang.String name)
|
static QNetworkReply.NetworkError[] |
values()
|
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final QNetworkReply.NetworkError NoError
public static final QNetworkReply.NetworkError ConnectionRefusedError
public static final QNetworkReply.NetworkError RemoteHostClosedError
public static final QNetworkReply.NetworkError HostNotFoundError
public static final QNetworkReply.NetworkError TimeoutError
public static final QNetworkReply.NetworkError OperationCanceledError
abort()
or close()
before it was finished.
public static final QNetworkReply.NetworkError SslHandshakeFailedError
public static final QNetworkReply.NetworkError UnknownNetworkError
public static final QNetworkReply.NetworkError ProxyConnectionRefusedError
public static final QNetworkReply.NetworkError ProxyConnectionClosedError
public static final QNetworkReply.NetworkError ProxyNotFoundError
public static final QNetworkReply.NetworkError ProxyTimeoutError
public static final QNetworkReply.NetworkError ProxyAuthenticationRequiredError
public static final QNetworkReply.NetworkError UnknownProxyError
public static final QNetworkReply.NetworkError ContentAccessDenied
public static final QNetworkReply.NetworkError ContentOperationNotPermittedError
public static final QNetworkReply.NetworkError ContentNotFoundError
public static final QNetworkReply.NetworkError AuthenticationRequiredError
public static final QNetworkReply.NetworkError UnknownContentError
public static final QNetworkReply.NetworkError ProtocolUnknownError
public static final QNetworkReply.NetworkError ProtocolInvalidOperationError
public static final QNetworkReply.NetworkError ProtocolFailure
Method Detail |
---|
public static QNetworkReply.NetworkError[] values()
public static QNetworkReply.NetworkError valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QNetworkReply.NetworkError resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |