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 ABAP 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 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 GET_ENTITY Instance method Public Method Get or create an Entity as Payload of the Message 20100208
2 GET_HEADER_FIELD Instance method Public Method Get Header Field 20100208
3 GET_HEADER_FIELDS 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 Returning 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 Importing IV_NAME Call by reference Type reference (TYPE) STRING Header Name 20100211
2 Returning 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 Returning 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