PHP 클래스 Doctrine\OrientDB\Binding\Client\Http\CurlClientResponse

파일 보기 프로젝트 열기: doctrine/orientdb-odm 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$body
$headers
$protocol
$rawHeaders
$statusCode

공개 메소드들

메소드 설명
__construct ( String $response ) Constructs a new object from an existing HTTP response.
__toString ( )
getBody ( ) : String Returns the body of the response.
getCookies ( ) : array Returns the cookies set in the current response.
getHeader ( string $header ) : string Returns the value of the specified header.
getProtocol ( ) : string Returns the protocol used to communicate with the client.
getResponse ( ) : String Returns the whole response.
getStatusCode ( ) : String Returns the status code of the response.
getValidStatusCodes ( ) : String Returns an array for the HTTP status codes that are considered as valid responses.

보호된 메소드들

메소드 설명
buildHeaders ( string $headers ) Builds headers array from a well-formatted string.
getRawHeaders ( ) : string Returns all the headers as a string.
setProtocol ( string $protocol ) Sets the protocol used for the communication with the client.
setStatusCode ( integer $code ) Sets the status code of the response.

메소드 상세

__construct() 공개 메소드

Constructs a new object from an existing HTTP response.
public __construct ( String $response )
$response String

__toString() 공개 메소드

public __toString ( )

buildHeaders() 보호된 메소드

Builds headers array from a well-formatted string.
protected buildHeaders ( string $headers )
$headers string

getBody() 공개 메소드

Returns the body of the response.
public getBody ( ) : String
리턴 String

getCookies() 공개 메소드

Returns the cookies set in the current response.
public getCookies ( ) : array
리턴 array

getHeader() 공개 메소드

Returns the value of the specified header.
public getHeader ( string $header ) : string
$header string Header name.
리턴 string

getProtocol() 공개 메소드

Returns the protocol used to communicate with the client.
public getProtocol ( ) : string
리턴 string

getRawHeaders() 보호된 메소드

Returns all the headers as a string.
protected getRawHeaders ( ) : string
리턴 string

getResponse() 공개 메소드

Returns the whole response.
public getResponse ( ) : String
리턴 String

getStatusCode() 공개 메소드

Returns the status code of the response.
public getStatusCode ( ) : String
리턴 String

getValidStatusCodes() 공개 메소드

Returns an array for the HTTP status codes that are considered as valid responses.
public getValidStatusCodes ( ) : String
리턴 String

setProtocol() 보호된 메소드

Sets the protocol used for the communication with the client.
protected setProtocol ( string $protocol )
$protocol string

setStatusCode() 보호된 메소드

Sets the status code of the response.
protected setStatusCode ( integer $code )
$code integer

프로퍼티 상세

$body 보호되어 있는 프로퍼티

protected $body

$headers 보호되어 있는 프로퍼티

protected $headers

$protocol 보호되어 있는 프로퍼티

protected $protocol

$rawHeaders 보호되어 있는 프로퍼티

protected $rawHeaders

$statusCode 보호되어 있는 프로퍼티

protected $statusCode