Paket | mx.messaging.messages |
Sınıf | public class HTTPRequestMessage |
Miras Alma | HTTPRequestMessage AbstractMessage Object |
Alt Sınıflar | SOAPMessage |
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümleri: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Özellik | Tanımlayan: | ||
---|---|---|---|
body : Object
The body of a message contains the specific data that needs to be
delivered to the remote destination. | AbstractMessage | ||
clientId : String
The clientId indicates which MessageAgent sent the message. | AbstractMessage | ||
constructor : Object
Belirli bir nesne örneği için sınıf nesnesine veya yapıcı işlevine bir başvuru. | Object | ||
contentType : String
Indicates the content type of this message. | HTTPRequestMessage | ||
destination : String
The message destination. | AbstractMessage | ||
headers : Object
The headers of a message are an associative array where the key is the
header name and the value is the header value. | AbstractMessage | ||
httpHeaders : Object
Contains specific HTTP headers that should be placed on the request made
to the destination. | HTTPRequestMessage | ||
messageId : String
The unique id for the message. | AbstractMessage | ||
method : String
Indicates what method should be used for the request. | HTTPRequestMessage | ||
recordHeaders : Boolean
Only used when going through the proxy, should the proxy
send back the request and response headers it used. | HTTPRequestMessage | ||
timestamp : Number
Provides access to the time stamp for the message. | AbstractMessage | ||
timeToLive : Number
The time to live value of a message indicates how long the message
should be considered valid and deliverable. | AbstractMessage | ||
url : String
Contains the final destination for this request. | HTTPRequestMessage |
Yöntem | Tanımlayan: | ||
---|---|---|---|
Constructs an uninitialized HTTP request. | HTTPRequestMessage | ||
Bir nesnenin belirli bir özelliğinin tanımlı olup olmadığını gösterir. | Object | ||
Object sınıfının bir örneğinin parametre olarak belirtilen nesnenin prototip zincirinde olup olmadığını gösterir. | Object | ||
Belirtilen özelliğin bulunup bulunmadığını ve numaralandırılabilir olup olmadığını gösterir. | Object | ||
Dinamik bir özelliğin döngü işlemlerinde kullanılabilirliğini ayarlar. | Object | ||
Bu nesnenin, yerel ayara özel kurallara göre biçimlendirilmiş dize temsilini döndürür. | Object | ||
Returns a string representation of the message. | AbstractMessage | ||
Belirtilen nesnenin temel değerini döndürür. | Object |
Sabit | Tanımlayan: | ||
---|---|---|---|
CONTENT_TYPE_FORM : String = "application/x-www-form-urlencoded" [statik]
Indicates that the content of this message is a form. | HTTPRequestMessage | ||
CONTENT_TYPE_SOAP_XML : String = "text/xml; charset=utf-8" [statik]
Indicates that the content of this message is XML meant for a SOAP
request. | HTTPRequestMessage | ||
CONTENT_TYPE_XML : String = "application/xml" [statik]
Indicates that the content of this message is XML. | HTTPRequestMessage | ||
DELETE_METHOD : String = "DELETE" [statik]
Indicates that the method used for this request should be "delete". | HTTPRequestMessage | ||
GET_METHOD : String = "GET" [statik]
Indicates that the method used for this request should be "get". | HTTPRequestMessage | ||
HEAD_METHOD : String = "HEAD" [statik]
Indicates that the method used for this request should be "head". | HTTPRequestMessage | ||
OPTIONS_METHOD : String = "OPTIONS" [statik]
Indicates that the method used for this request should be "options". | HTTPRequestMessage | ||
POST_METHOD : String = "POST" [statik]
Indicates that the method used for this request should be "post". | HTTPRequestMessage | ||
PUT_METHOD : String = "PUT" [statik]
Indicates that the method used for this request should be "put". | HTTPRequestMessage | ||
TRACE_METHOD : String = "TRACE" [statik]
Indicates that the method used for this request should be "trace". | HTTPRequestMessage |
contentType | özellik |
public var contentType:String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümleri: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Indicates the content type of this message. This value must be understood by the destination this request is sent to.
The following example sets the contentType
property:
var msg:HTTPRequestMessage = new HTTPRequestMessage(); msg.contentType = HTTPRequestMessage.CONTENT_TYPE_FORM; msg.method = HTTPRequestMessage.POST_METHOD; msg.url = "http://my.company.com/login";
httpHeaders | özellik |
public var httpHeaders:Object
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümleri: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Contains specific HTTP headers that should be placed on the request made to the destination.
method | özellik |
method:String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümleri: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Indicates what method should be used for the request. The only values allowed are:
HTTPRequestMessage.DELETE_METHOD
HTTPRequestMessage.GET_METHOD
HTTPRequestMessage.HEAD_METHOD
HTTPRequestMessage.POST_METHOD
HTTPRequestMessage.OPTIONS_METHOD
HTTPRequestMessage.PUT_METHOD
HTTPRequestMessage.TRACE_METHOD
The following example sets the method
property:
var msg:HTTPRequestMessage = new HTTPRequestMessage(); msg.contentType = HTTPRequestMessage.CONTENT_TYPE_FORM; msg.method = HTTPRequestMessage.POST_METHOD; msg.url = "http://my.company.com/login";
Uygulama
public function get method():String
public function set method(value:String):void
recordHeaders | özellik |
public var recordHeaders:Boolean
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümleri: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Only used when going through the proxy, should the proxy send back the request and response headers it used. Defaults to false. Currently only set when using the NetworkMonitor.
url | özellik |
public var url:String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümleri: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Contains the final destination for this request.
This is the URL that the content of this message, found in the
body
property, will be sent to, using the method specified.
The following example sets the url
property:
var msg:HTTPRequestMessage = new HTTPRequestMessage(); msg.contentType = HTTPRequestMessage.CONTENT_TYPE_FORM; msg.method = HTTPRequestMessage.POST_METHOD; msg.url = "http://my.company.com/login";
HTTPRequestMessage | () | Yapıcı |
public function HTTPRequestMessage()
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümleri: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Constructs an uninitialized HTTP request.
CONTENT_TYPE_FORM | Sabit |
public static const CONTENT_TYPE_FORM:String = "application/x-www-form-urlencoded"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümleri: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Indicates that the content of this message is a form.
The following example uses this constant:
var msg:HTTPRequestMessage = new HTTPRequestMessage(); msg.contentType = HTTPRequestMessage.CONTENT_TYPE_FORM; msg.method = HTTPRequestMessage.POST_METHOD; msg.url = "http://my.company.com/login";
CONTENT_TYPE_SOAP_XML | Sabit |
public static const CONTENT_TYPE_SOAP_XML:String = "text/xml; charset=utf-8"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümleri: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Indicates that the content of this message is XML meant for a SOAP request.
The following example uses this constant:
var msg:HTTPRequestMessage = new HTTPRequestMessage(); msg.contentType = HTTPRequestMessage.CONTENT_TYPE_SOAP_XML; msg.method = HTTPRequestMessage.POST_METHOD; msg.url = "http://my.company.com/login";
CONTENT_TYPE_XML | Sabit |
public static const CONTENT_TYPE_XML:String = "application/xml"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümleri: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Indicates that the content of this message is XML.
The following example uses this constant:
var msg:HTTPRequestMessage = new HTTPRequestMessage(); msg.contentType = HTTPRequestMessage.CONTENT_TYPE_XML; msg.method = HTTPRequestMessage.POST_METHOD; msg.url = "http://my.company.com/login";
DELETE_METHOD | Sabit |
public static const DELETE_METHOD:String = "DELETE"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümleri: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Indicates that the method used for this request should be "delete".
The following example uses this constant:
var msg:HTTPRequestMessage = new HTTPRequestMessage(); msg.contentType = HTTPRequestMessage.CONTENT_TYPE_FORM; msg.method = HTTPRequestMessage.DELETE_METHOD; msg.url = "http://my.company.com/login";
GET_METHOD | Sabit |
public static const GET_METHOD:String = "GET"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümleri: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Indicates that the method used for this request should be "get".
The following example uses this constant:
var msg:HTTPRequestMessage = new HTTPRequestMessage(); msg.contentType = HTTPRequestMessage.CONTENT_TYPE_FORM; msg.method = HTTPRequestMessage.GET_METHOD; msg.url = "http://my.company.com/login";
HEAD_METHOD | Sabit |
public static const HEAD_METHOD:String = "HEAD"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümleri: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Indicates that the method used for this request should be "head".
The following example uses this constant:
var msg:HTTPRequestMessage = new HTTPRequestMessage(); msg.contentType = HTTPRequestMessage.CONTENT_TYPE_FORM; msg.method = HTTPRequestMessage.HEAD_METHOD; msg.url = "http://my.company.com/login";
OPTIONS_METHOD | Sabit |
public static const OPTIONS_METHOD:String = "OPTIONS"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümleri: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Indicates that the method used for this request should be "options".
The following example uses this constant:
var msg:HTTPRequestMessage = new HTTPRequestMessage(); msg.contentType = HTTPRequestMessage.CONTENT_TYPE_FORM; msg.method = HTTPRequestMessage.OPTIONS_METHOD; msg.url = "http://my.company.com/login";
POST_METHOD | Sabit |
public static const POST_METHOD:String = "POST"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümleri: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Indicates that the method used for this request should be "post".
The following example uses this constant:
var msg:HTTPRequestMessage = new HTTPRequestMessage(); msg.contentType = HTTPRequestMessage.CONTENT_TYPE_FORM; msg.method = HTTPRequestMessage.POST_METHOD; msg.url = "http://my.company.com/login";
PUT_METHOD | Sabit |
public static const PUT_METHOD:String = "PUT"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümleri: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Indicates that the method used for this request should be "put".
The following example uses this constant:
var msg:HTTPRequestMessage = new HTTPRequestMessage(); msg.contentType = HTTPRequestMessage.CONTENT_TYPE_FORM; msg.method = HTTPRequestMessage.PUT_METHOD; msg.url = "http://my.company.com/login";
TRACE_METHOD | Sabit |
public static const TRACE_METHOD:String = "TRACE"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümleri: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Indicates that the method used for this request should be "trace".
The following example uses this constant:
var msg:HTTPRequestMessage = new HTTPRequestMessage(); msg.contentType = HTTPRequestMessage.CONTENT_TYPE_FORM; msg.method = HTTPRequestMessage.TRACE_METHOD; msg.url = "http://my.company.com/login";
Tue Jun 12 2018, 01:09 PM Z