Class shardimage\shardimagephpapi\web\requests\RestRequest

Inheritanceshardimage\shardimagephpapi\web\requests\RestRequest » shardimage\shardimagephpapi\web\requests\BaseRequest

Restful request handler.

Property Details

$body protected property

Body

Method Details

buildUri() protected method

{@inheritdoc}

protected string buildUri ( )
getBody() public method

{@inheritdoc}

public string getBody ( )
getBodyOrGenerate() protected method

To avoid multiple calling, checks the body in property, if null, then generates, stores and returns with it.

protected string getBodyOrGenerate ( )
getHeaders() public method

{@inheritdoc}

public string getHeaders ( )