public static enum IHttpRequest.Key extends java.lang.Enum<IHttpRequest.Key>
IHttpRequest.execute(HttpCommand, String, boolean, Map, String)
.Enum Constant and Description |
---|
READY_STATE
'readyState'
|
REQUEST_HEADERS
'requestHeaders' the HTTP request headers as a string
|
RESPONSE_HEADERS
'responseHeaders' the HTTP response headers as a string
|
RESPONSE_STATUS
'status' the status-number (e.g.
|
RESPONSE_STATUS_TEXT
'statusText' the status-text (e.g.
|
RESPONSE_TEXT
'responseText' the HTTP response data as a string
|
RESPONSE_XML
'responseXML' the HTTP response data as XML data
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
value()
getter of
value |
static IHttpRequest.Key |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IHttpRequest.Key[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IHttpRequest.Key READY_STATE
Holds the status of the XMLHttpRequest. Changes from 0 to 4: 0: request not initialized 1: server connection established 2: request received 3: processing request 4: request finished and response is ready
XMLHttpRequest.AjaxReadyState
public static final IHttpRequest.Key RESPONSE_TEXT
public static final IHttpRequest.Key RESPONSE_XML
public static final IHttpRequest.Key RESPONSE_STATUS
org.safs.net.HttpRequest.HttpResponseStatus
public static final IHttpRequest.Key RESPONSE_STATUS_TEXT
public static final IHttpRequest.Key RESPONSE_HEADERS
public static final IHttpRequest.Key REQUEST_HEADERS
public static IHttpRequest.Key[] values()
for (IHttpRequest.Key c : IHttpRequest.Key.values()) System.out.println(c);
public static IHttpRequest.Key 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String value()
value
Copyright © SAS Institute. All Rights Reserved.