SAP ABAP Class IF_REST_MESSAGE (REST Messages)
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface composition (i COMPRISING i_ref) | IF_REST_REQUEST | REST Request | 20100208 |
| 2 | Interface composition (i COMPRISING i_ref) | IF_REST_RESPONSE | REST Response | 20100208 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_REST_BASE_REQUEST | REST Base Request | 20120302 |
| 4 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_REST_BASE_RESPONSE | REST Base Response | 20120307 |
| 5 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_REST_REQUEST | REST Request | 20120325 |
| 6 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_REST_RESPONSE | REST Response | 20120325 |
Properties
| Class | IF_REST_MESSAGE | |
| Short Description | REST Messages | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | ||
| Created | 20100208 | SAP |
| Last change | 20130531 | 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 IF_REST_MESSAGE has no interface implemented.
Friends
Class IF_REST_MESSAGE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | MESSAGE_KIND | 'NONE' | 20120313 | |||
| 2 | Constant | Public | Type reference (TYPE) | MESSAGE_KIND | 'REQUEST' | 20120309 | |||
| 3 | Constant | Public | Type reference (TYPE) | MESSAGE_KIND | 'RESPONSE' | 20120309 | |||
| 4 | Constant | Public | Type reference (TYPE) | STRING | 'DELETE' | DELETE | 20100217 | ||
| 5 | Constant | Public | Type reference (TYPE) | STRING | 'GET' | GET | 20100217 | ||
| 6 | Constant | Public | Type reference (TYPE) | STRING | 'HEAD' | HEAD | 20100217 | ||
| 7 | Constant | Public | Type reference (TYPE) | STRING | 'MERGE' | MERGE | 20110727 | ||
| 8 | Constant | Public | Type reference (TYPE) | STRING | 'OPTIONS' | OPTIONS | 20100217 | ||
| 9 | Constant | Public | Type reference (TYPE) | STRING | 'PATCH' | PATCH | 20110727 | ||
| 10 | Constant | Public | Type reference (TYPE) | STRING | 'POST' | POST | 20100217 | ||
| 11 | Constant | Public | Type reference (TYPE) | STRING | 'PUT' | PUT | 20100217 | ||
| 12 | Instance attribute | Public | Type reference (TYPE) | MESSAGE_KIND | 20120309 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Get or create an Entity as Payload of the Message | 20100208 | |
| 2 | Instance method | Public | Method | Get Header Field | 20100208 | |
| 3 | Instance method | Public | Method | Get all Header Fields | 20100208 |
Events
Class IF_REST_MESSAGE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | MESSAGE_KIND | Public | Type reference (TYPE) | STRING | 20120309 | |
Method Signatures
Method GET_ENTITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_ENTITY | Value transfer | Object reference (TYPE REF TO) | IF_REST_ENTITY | Entity | 20100211 |
Method GET_ENTITY on class IF_REST_MESSAGE has no exception.
Method GET_HEADER_FIELD 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 | Header Name | 20100211 | |||
| 2 | RV_VALUE | Value transfer | Type reference (TYPE) | STRING | Header Value | 20100211 |
Method GET_HEADER_FIELD on class IF_REST_MESSAGE has no exception.
Method GET_HEADER_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_HEADER_FIELDS | Value transfer | Type reference (TYPE) | TIHTTPNVP | List of Header Fields | 20100211 |
Method GET_HEADER_FIELDS on class IF_REST_MESSAGE has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |