SAP ABAP Class CL_REST_RFC_UTILITIES (REST RFC Utility Class)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-MID-RST (Application Component) REST-based Protocols
     SREST_RFC (Package) REST RFC Adapter
Properties
Class CL_REST_RFC_UTILITIES  
Short Description REST RFC Utility Class    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SREST_RFC   REST RFC Adapter 
Created 20100615   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 CL_REST_RFC_UTILITIES has no interface implemented.
Friends
Class CL_REST_RFC_UTILITIES has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 VERSION Static Attribute Private Type reference (TYPE) I 7 20120314
Methods
# Method Level Visibility Method type Description Created on
1 CALL_REST_RFC_HANDLER Static method Public Method Calls a RFC Handler and provides Request and Response 20100615
2 COPY_RESPONSE_HEADER Static method Private Method 20120308
3 CREATE_REST_REQUEST Static method Public Method Creates a IF_REST_REQUEST from a RFC Request Structure 20100615
4 CREATE_REST_RESPONSE Static method Private Method 20120308
5 CREATE_REST_RESPONSE_STRUCTURE Static method Public Method Creates a RFC Response Structure from a IF_REST_RESPONSE 20100616
Events
Class CL_REST_RFC_UTILITIES has no event.
Types
Class CL_REST_RFC_UTILITIES has no local type.
Method Signatures

Method CALL_REST_RFC_HANDLER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_APPLICATION Call by reference Object reference (TYPE REF TO) IF_REST_APPLICATION Application Object (e.g. if created via Class) 20100616
2 Exporting EO_REST_RESPONSE Call by reference Object reference (TYPE REF TO) IF_REST_RESPONSE REST Response Object 20100616
3 Exporting ES_REST_RESPONSE Call by reference Type reference (TYPE) SREST_RESPONSE RFC Response Structure 20100616
4 Importing IO_APPLICATION Call by reference Object reference (TYPE REF TO) IF_REST_APPLICATION Application Object 20100616
5 Importing IS_REST_REQUEST Call by reference Type reference (TYPE) SREST_REQUEST REST Request 20100615
6 Importing IV_ALLOW_METHOD_OVERRIDE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Allow Method Override 20100615
7 Importing IV_APPLICATION_CLASS Call by reference Type reference (TYPE) SEOCLNAME Application Class 20100616
8 Importing IV_STATIC_PATH Call by reference Type reference (TYPE) STRING '' Part of URI path which is not used for REST routing 20100616

Method CALL_REST_RFC_HANDLER on class CL_REST_RFC_UTILITIES has no exception.

Method COPY_RESPONSE_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_HEADER_FIELD Call by reference Type reference (TYPE) TIHTTPNVP 20120308
2 Importing IO_RESPONSE Value transfer Object reference (TYPE REF TO) IF_REST_RESPONSE 20120308

Method COPY_RESPONSE_HEADER on class CL_REST_RFC_UTILITIES has no exception.

Method CREATE_REST_REQUEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_REST_REQUEST Call by reference Type reference (TYPE) SREST_REQUEST REST Request 20100615
2 Importing IV_ALLOW_METHOD_OVERRIDE Call by reference Type reference (TYPE) ABAP_BOOL Allow Method Override 20100623
3 Importing IV_STATIC_PATH Call by reference Type reference (TYPE) STRING Part of URI path which is not used for REST routing 20100615
4 Returning RO_REST_REQUEST Value transfer Object reference (TYPE REF TO) IF_REST_REQUEST REST Request 20100615

Method CREATE_REST_REQUEST on class CL_REST_RFC_UTILITIES has no exception.

Method CREATE_REST_RESPONSE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_RESPONSE Value transfer Object reference (TYPE REF TO) IF_REST_RESPONSE 20120308

Method CREATE_REST_RESPONSE on class CL_REST_RFC_UTILITIES has no exception.

Method CREATE_REST_RESPONSE_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_REST_RESPONSE Call by reference Type reference (TYPE) SREST_RESPONSE REST Request 20100616
2 Importing IO_REST_RESPONSE Call by reference Object reference (TYPE REF TO) IF_REST_RESPONSE 20100616

Method CREATE_REST_RESPONSE_STRUCTURE on class CL_REST_RFC_UTILITIES has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 800