EC-CUBE
Public メソッド | 変数
クラス SOAP_Transport_HTTP
SOAP_Transport_HTTPに対する継承グラフ
Inheritance graph
[凡例]
SOAP_Transport_HTTPのコラボレーション図
Collaboration graph
[凡例]

Public メソッド

 SOAP_Transport_HTTP ($url, $encoding=SOAP_DEFAULT_ENCODING)
 send ($msg, $options=array())
 setCredentials ($username, $password)
 addCookie ($name, $value)
 _generateCookieHeader ($options)
 _validateUrl ()
 _parseEncoding ($headers)
 _parseHeaders ($headers)
 _parseResponse ()
 _getRequest ($msg, $options)
 _sendHTTP ($msg, $options)
 _sendHTTPS ($msg, $options)

変数

 $headers = array()
 $cookies
 $timeout = 4
 $result_content_type
 $result_headers = array()
 $result_cookies = array()

関数

_generateCookieHeader ( options)

Generates the correct headers for the cookies.

private

引数:
array$optionsCookie options. If 'nocookies' is set and true the cookies from the last response are added automatically. 'cookies' is name-value-hash with a list of cookies to add.
戻り値:
string The cookie header value.
_getRequest ( msg,
options 
)

Creates an HTTP request, including headers, for the outgoing request.

private

引数:
string$msgOutgoing SOAP package.
array$optionsOptions.
戻り値:
string Outgoing payload.
_parseEncoding ( headers)

Finds out what the encoding is. Sets the object property accordingly.

private

引数:
array$headersHeaders.
_parseHeaders ( headers)

Parses the headers.

引数:
array$headersThe headers.

Removes HTTP headers from response.

戻り値:
boolean private
_sendHTTP ( msg,
options 
)

Sends the outgoing HTTP request and reads and parses the response.

private

引数:
string$msgOutgoing SOAP package.
array$optionsOptions.
戻り値:
string Response data without HTTP headers.
_sendHTTPS ( msg,
options 
)

Sends the outgoing HTTPS request and reads and parses the response.

private

引数:
string$msgOutgoing SOAP package.
array$optionsOptions.
戻り値:
string Response data without HTTP headers.

Validate url data passed to constructor.

private

戻り値:
boolean
addCookie ( name,
value 
)

Adds a cookie.

public

引数:
string$nameCookie name.
mixed$valueCookie value.
send ( msg,
options = array() 
)

Sends and receives SOAP data.

public

引数:
stringOutgoing SOAP data.
arrayOptions.
戻り値:
string|SOAP_Fault

SOAP_Transportを再定義しています。

setCredentials ( username,
password 
)

Sets data for HTTP authentication, creates authorization header.

引数:
string$usernameUsername.
string$passwordResponse data, minus HTTP headers.

public

SOAP_Transport_HTTP ( url,
encoding = SOAP_DEFAULT_ENCODING 
)

SOAP_Transport_HTTP Constructor

public

引数:
string$urlHTTP url to SOAP endpoint.
string$encodingEncoding to use.

構造体

$result_content_type

HTTP-Response Content-Type.


このクラスの説明は次のファイルから生成されました:
 全て データ構造 ネームスペース 関数 変数