| 
    Magento 2 Documentation
    2.3
    
   Documentation for Magento 2 CMS v2.3 (December 2018) 
   | 
 
  
Data Fields | |
| const | REQUEST_PARAM_SERVICES = 'services' | 
| const | ALL_SERVICES = 'all' | 
  Data Fields inherited from Http | |
| const | DEFAULT_HTTP_PORT = 80 | 
| const | DEFAULT_HTTPS_PORT = 443 | 
| const | XML_PATH_OFFLOADER_HEADER = 'web/secure/offloader_header' | 
  Data Fields inherited from Request | |
| const | SCHEME_HTTP = 'http' | 
| const | SCHEME_HTTPS = 'https' | 
| const | XML_PATH_OFFLOADER_HEADER = 'web/secure/offloader_header' | 
Protected Member Functions | |
| _convertRequestParamToServiceArray ($param) | |
  Protected Member Functions inherited from Request | |
| immediateRequestSecure () | |
| initialRequestSecure ($offLoaderHeader) | |
Additional Inherited Members | |
  Static Public Member Functions inherited from Http | |
| static | getDistroBaseUrlPath ($server) | 
| static | getUrlNoScript ($url) | 
  Protected Attributes inherited from Http | |
| $route | |
| $pathInfo = '' | |
| $originalPathInfo = '' | |
| $directFrontNames | |
| $controllerModule | |
| $beforeForwardInfo = [] | |
| $routeConfig | |
| $pathInfoProcessor | |
| $objectManager | |
| $isSafeMethod = null | |
| $safeRequestTypes = ['GET', 'HEAD', 'TRACE', 'OPTIONS'] | |
  Protected Attributes inherited from Request | |
| $module | |
| $controller | |
| $action | |
| $pathInfo = '' | |
| $requestString = '' | |
| $params = [] | |
| $aliases = [] | |
| $dispatched = false | |
| $forwarded | |
| $cookieReader | |
| $converter | |
| $appConfig | |
| $sslOffloadHeader | |
Definition at line 18 of file Request.php.
| __construct | ( | CookieReaderInterface | $cookieReader, | 
| StringUtils | $converter, | ||
| AreaList | $areaList, | ||
| ScopeInterface | $configScope, | ||
$uri = null  | 
        |||
| ) | 
Modify pathInfo: strip down the front name and query parameters.
| CookieReaderInterface | $cookieReader | |
| StringUtils | $converter | |
| AreaList | $areaList | |
| ScopeInterface | $configScope | |
| null | string | $uri | 
Remove base url and area from path
Remove GET parameters from path
Definition at line 39 of file Request.php.
      
  | 
  protected | 
Extract the resources query param value and return associative array of the form 'resource' => 'version'
| string | $param | eg testModule1AllSoapAndRestV1,testModule2AllSoapNoRestV1  | 
 eg array (
     'testModule1AllSoapAndRestV1',
     'testModule2AllSoapNoRestV1',
     ) Definition at line 98 of file Request.php.
| getHeader | ( | $header, | |
$default = false  | 
        |||
| ) | 
{}
Added CGI environment support.
Workaround for hhvm environment
Definition at line 62 of file Request.php.
| getRequestedServices | ( | $default = null | ) | 
Identify versions of resources that should be used for API configuration generation.
| string | null | $default | 
Definition at line 82 of file Request.php.
| const ALL_SERVICES = 'all' | 
services parameter value to indicate that a schema for all services should be generated
Definition at line 28 of file Request.php.
| const REQUEST_PARAM_SERVICES = 'services' | 
Name of query parameter to specify services for which to generate schema
Definition at line 23 of file Request.php.