SAP ABAP Interface IF_REST_MESSAGE (REST Messages)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-MID-RST (Application Component) REST-based Protocols
⤷
SREST_CORE (Package) REST Core

⤷

⤷

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
Interface | IF_REST_MESSAGE | |
Short Description | REST Messages |
General Data
Package | SREST_CORE | REST Core |
Created | 20100208 | SAP |
Last changed | 20130531 | 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 IF_REST_MESSAGE has no interface.
Friends
Interface IF_REST_MESSAGE has no friend.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | GC_MESSAGE_KIND_NONE | Constant | Public | Type reference (TYPE) | MESSAGE_KIND | 'NONE' | 20120313 | ||
2 | GC_MESSAGE_KIND_REQUEST | Constant | Public | Type reference (TYPE) | MESSAGE_KIND | 'REQUEST' | 20120309 | ||
3 | GC_MESSAGE_KIND_RESPONSE | Constant | Public | Type reference (TYPE) | MESSAGE_KIND | 'RESPONSE' | 20120309 | ||
4 | GC_METHOD_DELETE | Constant | Public | Type reference (TYPE) | STRING | 'DELETE' | DELETE | 20100217 | |
5 | GC_METHOD_GET | Constant | Public | Type reference (TYPE) | STRING | 'GET' | GET | 20100217 | |
6 | GC_METHOD_HEAD | Constant | Public | Type reference (TYPE) | STRING | 'HEAD' | HEAD | 20100217 | |
7 | GC_METHOD_MERGE | Constant | Public | Type reference (TYPE) | STRING | 'MERGE' | MERGE | 20110727 | |
8 | GC_METHOD_OPTIONS | Constant | Public | Type reference (TYPE) | STRING | 'OPTIONS' | OPTIONS | 20100217 | |
9 | GC_METHOD_PATCH | Constant | Public | Type reference (TYPE) | STRING | 'PATCH' | PATCH | 20110727 | |
10 | GC_METHOD_POST | Constant | Public | Type reference (TYPE) | STRING | 'POST' | POST | 20100217 | |
11 | GC_METHOD_PUT | Constant | Public | Type reference (TYPE) | STRING | 'PUT' | PUT | 20100217 | |
12 | KIND | 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
Interface 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 Interface 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 Interface 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 Interface IF_REST_MESSAGE has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in |