Class shardimage\shardimagephpapi\web\requests\RestRequest
Inheritance | shardimage\shardimagephpapi\web\requests\RestRequest » shardimage\shardimagephpapi\web\requests\BaseRequest |
---|
Restful request handler.
Protected Properties
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | Creates the request handler. | shardimage\shardimagephpapi\web\requests\BaseRequest |
getBody() | {@inheritdoc} | shardimage\shardimagephpapi\web\requests\RestRequest |
getHeaders() | {@inheritdoc} | shardimage\shardimagephpapi\web\requests\RestRequest |
getMethod() | Returns the HTTP method. | shardimage\shardimagephpapi\web\requests\BaseRequest |
getUri() | Returns the uri after replacing the parameters. | shardimage\shardimagephpapi\web\requests\BaseRequest |
Protected Methods
Method | Description | Defined By |
---|---|---|
buildUri() | {@inheritdoc} | shardimage\shardimagephpapi\web\requests\RestRequest |
formatUriParam() | shardimage\shardimagephpapi\web\requests\BaseRequest | |
getBodyOrGenerate() | To avoid multiple calling, checks the body in property, if null, then generates, stores and returns with it. | shardimage\shardimagephpapi\web\requests\RestRequest |
parseUrlParams() | shardimage\shardimagephpapi\web\requests\BaseRequest | |
prepareUrlReplaceParams() | Prepares replace array | shardimage\shardimagephpapi\web\requests\BaseRequest |
Property Details
Body
Method Details
{@inheritdoc}
protected string buildUri ( ) |
{@inheritdoc}
public string getBody ( ) |
To avoid multiple calling, checks the body in property, if null, then generates, stores and returns with it.
protected string getBodyOrGenerate ( ) |
{@inheritdoc}
public string getHeaders ( ) |