SAP ABAP Class /IWCOR/IF_REST_REQUEST (REST Request)
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface composition (i COMPRISING i_ref) | /IWCOR/IF_REST_MESSAGE | REST Messages | 20120305 |
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
| Class | /IWCOR/IF_REST_REQUEST | |
| Short Description | REST Request | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | ||
| Created | 20100208 | SAP |
| Last change | 20131127 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class /IWCOR/IF_REST_REQUEST has no interface implemented.
Friends
Class /IWCOR/IF_REST_REQUEST has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | STRING | 'X-CSRF-Token' | Header Field for CSRF Token | 20120305 | ||
| 2 | Constant | Public | Type reference (TYPE) | STRING | 'X-HTTP-Method' | Alternative Header Field for HTTP Method Override | 20120305 | ||
| 3 | Constant | Public | Type reference (TYPE) | STRING | 'X-HTTP-Method-Override' | Header Field for Method Override | 20120305 | ||
| 4 | Constant | Public | Type reference (TYPE) | STRING | 'X-Requested-With' | Header Field for CSRF Protection | 20120305 | ||
| 5 | Instance attribute | Public | Attribute reference (LIKE) | 20120305 | |||||
| 6 | Instance attribute | Public | Attribute reference (LIKE) | 20120305 | |||||
| 7 | Instance attribute | Public | Attribute reference (LIKE) | 20120305 | |||||
| 8 | Instance attribute | Public | Attribute reference (LIKE) | 20120305 | |||||
| 9 | Instance attribute | Public | Attribute reference (LIKE) | 20120305 | |||||
| 10 | Instance attribute | Public | Attribute reference (LIKE) | 20120305 | |||||
| 11 | Instance attribute | Public | Attribute reference (LIKE) | 20120305 | |||||
| 12 | Instance attribute | Public | Attribute reference (LIKE) | 20120305 |
Methods
Events
Class /IWCOR/IF_REST_REQUEST has no event.
Types
Class /IWCOR/IF_REST_REQUEST has no local type.
Method Signatures
Method GET_ENTITY Signature
Method GET_ENTITY on class /IWCOR/IF_REST_REQUEST has no parameter.
Method GET_ENTITY on class /IWCOR/IF_REST_REQUEST has no exception.
Method GET_HEADER_FIELD Signature
Method GET_HEADER_FIELD on class /IWCOR/IF_REST_REQUEST has no parameter.
Method GET_HEADER_FIELD on class /IWCOR/IF_REST_REQUEST has no exception.
Method GET_HEADER_FIELDS Signature
Method GET_HEADER_FIELDS on class /IWCOR/IF_REST_REQUEST has no parameter.
Method GET_HEADER_FIELDS on class /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 class /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 class /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 class /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 class /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 class /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 class /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 class /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 class /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 class /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 class /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 class /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 class /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 class /IWCOR/IF_REST_REQUEST has no exception.
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in |