|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QHttp.Error>
com.trolltech.qt.network.QHttp.Error
public static enum QHttp.Error
This enum identifies the error that occurred.
Enum Constant Summary | |
---|---|
Aborted
The request was aborted with abort. |
|
AuthenticationRequiredError
The web server requires authentication to complete the request. |
|
ConnectionRefused
The server refused the connection. |
|
HostNotFound
The host name lookup failed. |
|
InvalidResponseHeader
The server sent an invalid response header. |
|
NoError
No error occurred. |
|
ProxyAuthenticationRequiredError
QHttp is using a proxy, and the proxy server requires authentication to establish a connection. |
|
UnexpectedClose
The server closed the connection unexpectedly. |
|
UnknownError
An error other than those specified above occurred. |
|
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()
|
static QHttp.Error |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QHttp.Error[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QHttp.Error NoError
No error occurred.
public static final QHttp.Error UnknownError
An error other than those specified above occurred.
public static final QHttp.Error HostNotFound
The host name lookup failed.
public static final QHttp.Error ConnectionRefused
The server refused the connection.
public static final QHttp.Error UnexpectedClose
The server closed the connection unexpectedly.
public static final QHttp.Error InvalidResponseHeader
The server sent an invalid response header.
public static final QHttp.Error WrongContentLength
The client could not read the content correctly because an error with respect to the content length occurred.
public static final QHttp.Error Aborted
The request was aborted with abort.
public static final QHttp.Error AuthenticationRequiredError
The web server requires authentication to complete the request.
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 final QHttp.Error[] values()
for(QHttp.Error c : QHttp.Error.values()) System.out.println(c);
public static QHttp.Error valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic int value()
value
in interface QtEnumerator
public static QHttp.Error resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |