SAP ABAP Interface /IWCOR/IF_REST_REQUEST (REST Request)
Hierarchy
☛
SAP_GWFND (Software Component) SAP Gateway Foundation
⤷
OPU-FND-CCL (Application Component) IWF Consumer Connectivity Layer
⤷
/IWCOR/SREST_CORE (Package) REST library core
⤷
⤷
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | /IWCOR/CL_REST_BASE_REQUEST | REST Base Request | 20120305 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | /IWCOR/CL_REST_REQUEST | REST Request | 20100708 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | /IWCOR/CL_REST_STUB_REQUEST | Mock Impl of Interface /IWCOR/IF_REST_REQUEST | 20120928 |
Properties
| Interface | /IWCOR/IF_REST_REQUEST | |
| Short Description | REST Request |
General Data
| Package | /IWCOR/SREST_CORE | REST library core |
| Created | 20100208 | SAP |
| Last changed | 20131127 | SAP |
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | ABAP | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | /IWCOR/IF_REST_MESSAGE | REST Messages | 20120305 |
Friends
Interface /IWCOR/IF_REST_REQUEST has no friend.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | GC_HEADER_CSRF_TOKEN | Constant | Public | Type reference (TYPE) | STRING | 'X-CSRF-Token' | Header Field for CSRF Token | 20120305 | |
| 2 | GC_HEADER_HTTP_METHOD | Constant | Public | Type reference (TYPE) | STRING | 'X-HTTP-Method' | Alternative Header Field for HTTP Method Override | 20120305 | |
| 3 | GC_HEADER_METHOD_OVERRIDE | Constant | Public | Type reference (TYPE) | STRING | 'X-HTTP-Method-Override' | Header Field for Method Override | 20120305 | |
| 4 | GC_HEADER_REQUESTED_WITH | Constant | Public | Type reference (TYPE) | STRING | 'X-Requested-With' | Header Field for CSRF Protection | 20120305 | |
| 5 | GC_METHOD_DELETE | Instance attribute | Public | Attribute reference (LIKE) | 20120305 | ||||
| 6 | GC_METHOD_GET | Instance attribute | Public | Attribute reference (LIKE) | 20120305 | ||||
| 7 | GC_METHOD_HEAD | Instance attribute | Public | Attribute reference (LIKE) | 20120305 | ||||
| 8 | GC_METHOD_MERGE | Instance attribute | Public | Attribute reference (LIKE) | 20120305 | ||||
| 9 | GC_METHOD_OPTIONS | Instance attribute | Public | Attribute reference (LIKE) | 20120305 | ||||
| 10 | GC_METHOD_PATCH | Instance attribute | Public | Attribute reference (LIKE) | 20120305 | ||||
| 11 | GC_METHOD_POST | Instance attribute | Public | Attribute reference (LIKE) | 20120305 | ||||
| 12 | GC_METHOD_PUT | Instance attribute | Public | Attribute reference (LIKE) | 20120305 |
Methods
Events
Interface /IWCOR/IF_REST_REQUEST has no event.
Types
Interface /IWCOR/IF_REST_REQUEST has no local type.
Method Signatures
Method GET_ENTITY Signature
Method GET_ENTITY on Interface /IWCOR/IF_REST_REQUEST has no parameter.
Method GET_ENTITY on Interface /IWCOR/IF_REST_REQUEST has no exception.
Method GET_HEADER_FIELD Signature
Method GET_HEADER_FIELD on Interface /IWCOR/IF_REST_REQUEST has no parameter.
Method GET_HEADER_FIELD on Interface /IWCOR/IF_REST_REQUEST has no exception.
Method GET_HEADER_FIELDS Signature
Method GET_HEADER_FIELDS on Interface /IWCOR/IF_REST_REQUEST has no parameter.
Method GET_HEADER_FIELDS on Interface /IWCOR/IF_REST_REQUEST has no exception.
Method GET_METHOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_METHOD | Value transfer | Type reference (TYPE) | STRING | Request Method | 20120305 |
Method GET_METHOD on Interface /IWCOR/IF_REST_REQUEST has no exception.
Method GET_URI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ENCODED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Return encoded URL? | 20120305 | ||
| 2 | RV_REQUEST_URI | Value transfer | Type reference (TYPE) | STRING | Request URI | 20120305 |
Method GET_URI on Interface /IWCOR/IF_REST_REQUEST has no exception.
Method GET_URI_ATTRIBUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ENCODED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Is Attribute Value URL encoded? | 20120305 | ||
| 2 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | Attribute Name | 20120305 | |||
| 3 | RV_VALUE | Value transfer | Type reference (TYPE) | STRING | Attribute Value | 20120305 |
Method GET_URI_ATTRIBUTE on Interface /IWCOR/IF_REST_REQUEST has no exception.
Method GET_URI_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ENCODED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Is Attribute Value URL encoded? | 20120305 | ||
| 2 | RT_ATTRIBUTES | Value transfer | Type reference (TYPE) | TIHTTPNVP | List of Attributes | 20120305 |
Method GET_URI_ATTRIBUTES on Interface /IWCOR/IF_REST_REQUEST has no exception.
Method GET_URI_FRAGMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_FRAGMENT | Value transfer | Type reference (TYPE) | STRING | URI Fragment | 20120305 |
Method GET_URI_FRAGMENT on Interface /IWCOR/IF_REST_REQUEST has no exception.
Method GET_URI_MATRIX_PARAMETER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | Matrix Parameter Name | 20120305 | |||
| 2 | RV_VALUE | Value transfer | Type reference (TYPE) | STRING | Matrix Parameter Value | 20120305 |
Method GET_URI_MATRIX_PARAMETER on Interface /IWCOR/IF_REST_REQUEST has no exception.
Method GET_URI_MATRIX_PARAMETERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_PARAMETERS | Value transfer | Type reference (TYPE) | TIHTTPNVP | List of Matrix Parameters (Name/Value) | 20120305 |
Method GET_URI_MATRIX_PARAMETERS on Interface /IWCOR/IF_REST_REQUEST has no exception.
Method GET_URI_PATH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ENCODED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Return encoded URL? | 20120305 | ||
| 2 | RV_REST_PATH | Value transfer | Type reference (TYPE) | STRING | REST Path of URI | 20120305 |
Method GET_URI_PATH on Interface /IWCOR/IF_REST_REQUEST has no exception.
Method GET_URI_QUERY_PARAMETER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ENCODED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Is Attribute Value URL encoded? | 20120305 | ||
| 2 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | Query Parameter Name | 20120305 | |||
| 3 | RV_VALUE | Value transfer | Type reference (TYPE) | STRING | Query Parameter Value | 20120305 |
Method GET_URI_QUERY_PARAMETER on Interface /IWCOR/IF_REST_REQUEST has no exception.
Method GET_URI_QUERY_PARAMETERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ENCODED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Is Attribute Value URL encoded? | 20120305 | ||
| 2 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | Parameter Name | 20120305 | |||
| 3 | RT_PARAMETERS | Value transfer | Type reference (TYPE) | TIHTTPNVP | List of Query Parameters (Name/Value) | 20120305 |
Method GET_URI_QUERY_PARAMETERS on Interface /IWCOR/IF_REST_REQUEST has no exception.
Method GET_URI_SEGMENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_SEGMENTS | Value transfer | Type reference (TYPE) | STRING_TABLE | List of Path Segments | 20120305 |
Method GET_URI_SEGMENTS on Interface /IWCOR/IF_REST_REQUEST has no exception.
Method HAS_URI_QUERY_PARAMETER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | Parameter Name | 20120305 | |||
| 2 | RV_CONTAINS_PARAMETER | Value transfer | Type reference (TYPE) | ABAP_BOOL | Exist Parameter | 20120305 |
Method HAS_URI_QUERY_PARAMETER on Interface /IWCOR/IF_REST_REQUEST has no exception.
Method SET_URI_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ATTRIBUTES | Call by reference | Type reference (TYPE) | TIHTTPNVP | List of Attributes | 20120305 |
Method SET_URI_ATTRIBUTES on Interface /IWCOR/IF_REST_REQUEST has no exception.
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in | 200 |