|
|||||||||
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.QHttp.Error
public static final class QHttp.Error
This enum identifies the error that occurred.
error()
.
Field Summary | |
---|---|
static QHttp.Error |
Aborted
The request was aborted with abort() . |
static QHttp.Error |
AuthenticationRequiredError
The web server requires authentication to complete the request. |
static QHttp.Error |
ConnectionRefused
The server refused the connection. |
static QHttp.Error |
HostNotFound
The host name lookup failed. |
static QHttp.Error |
InvalidResponseHeader
The server sent an invalid response header. |
static QHttp.Error |
NoError
No error occurred. |
static QHttp.Error |
ProxyAuthenticationRequiredError
QHttp is using a proxy, and the proxy server requires authentication to establish a connection. |
static QHttp.Error |
UnexpectedClose
The server closed the connection unexpectedly. |
static QHttp.Error |
UnknownError
An error other than those specified above occurred. |
static QHttp.Error |
WrongContentLength
The client could not read the content correctly because an error with respect to the content length occurred. |
Method Summary | |
---|---|
static QHttp.Error |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QHttp.Error |
valueOf(java.lang.String name)
|
static QHttp.Error[] |
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 QHttp.Error NoError
public static final QHttp.Error UnknownError
public static final QHttp.Error HostNotFound
public static final QHttp.Error ConnectionRefused
public static final QHttp.Error UnexpectedClose
public static final QHttp.Error InvalidResponseHeader
public static final QHttp.Error WrongContentLength
public static final QHttp.Error Aborted
abort()
.
public static final QHttp.Error AuthenticationRequiredError
public static final QHttp.Error ProxyAuthenticationRequiredError
QHttp
is using a proxy, and the proxy server requires authentication to establish a connection.
Method Detail |
---|
public static QHttp.Error[] values()
public static QHttp.Error valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QHttp.Error resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |