SAP ABAP Class /IWCOR/CL_REST_RESOURCE (REST Resource)
Hierarchy
SAP_GWFND (Software Component) SAP Gateway Foundation
   OPU-FND-CCL (Application Component) IWF Consumer Connectivity Layer
     /IWCOR/SREST_CORE (Package) REST library core
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  /IWCOR/IF_REST_HANDLER REST Request Handler 20100708
2 Interface implementation (CLASS c. INTERFACES i_ref)  /IWCOR/IF_REST_RESOURCE REST Resource 20100708
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  /IWCOR/CL_REST_TEST_FORMFIELDS Test Resource for Handling Form Fields 20100708
2 Inheritance (c INHERITING FROM c_ref)  /IWCOR/CL_REST_TEST_RESOURCE REST Simple Test Resource (Ping) 20100708
3 Inheritance (c INHERITING FROM c_ref)  /IWCOR/CL_REST_TEST_RES_COND Test resource for conditional handling 20100909
4 Inheritance (c INHERITING FROM c_ref)  /IWCOR/CL_REST_TEST_RES_ECHO Test resource for URL handling and routing 20100909
Properties
Class /IWCOR/CL_REST_RESOURCE  
Short Description REST Resource    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /IWCOR/SREST_CORE   REST library core 
Created 20090814   SAP 
Last change 20131127   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
# Interface Abstract Final Description Created on
1 /IWCOR/IF_REST_HANDLER REST Request Handler 20100708
2 /IWCOR/IF_REST_RESOURCE REST Resource 20100708
Friends
Class /IWCOR/CL_REST_RESOURCE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MO_CONTEXT Instance attribute Protected Object reference (TYPE REF TO) /IWCOR/IF_REST_CONTEXT REST Context 20110218
2 MO_REQUEST Instance attribute Protected Object reference (TYPE REF TO) /IWCOR/IF_REST_REQUEST REST Request Object 20100708
3 MO_RESPONSE Instance attribute Protected Object reference (TYPE REF TO) /IWCOR/IF_REST_RESPONSE REST Response Object 20100708
4 MV_CONDITIONAL Instance attribute Protected Type reference (TYPE) ABAP_BOOL ABAP_TRUE Use Conditional Handling 20100708
Methods
# Method Level Visibility Method type Description Created on
1 COPY_RESPONSE Static method Private Method 20120410
2 DO_HANDLE Instance method Private Method Perform Normal Handling 20100708
3 DO_HANDLE_CONDITIONAL Instance method Private Method Perform Conditional Handling 20100708
4 GET_CONDITIONAL_INFO Instance method Protected Method Get Conditional Info 20100708
Events
Class /IWCOR/CL_REST_RESOURCE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_CONDITIONAL_INFO Protected See coding Conditional Information 20100708 BEGIN OF ts_conditional_info, existing TYPE abap_bool, etag TYPE /IWCOR/REST_ETAG_S, modification_date TYPE timestamp, status TYPE i, response TYPE REF TO /IWCOR/if_REST_response, END OF ts_conditional_info
Method Signatures

Method COPY_RESPONSE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SOURCE_RESPONSE Call by reference Object reference (TYPE REF TO) /IWCOR/IF_REST_RESPONSE 20120410
2 Importing IO_TARGET_RESPONSE Call by reference Object reference (TYPE REF TO) /IWCOR/IF_REST_RESPONSE 20120410

Method COPY_RESPONSE on class /IWCOR/CL_REST_RESOURCE has no exception.

Method DO_HANDLE Signature

Method DO_HANDLE on class /IWCOR/CL_REST_RESOURCE has no parameter.
Method DO_HANDLE on class /IWCOR/CL_REST_RESOURCE has no exception.

Method DO_HANDLE_CONDITIONAL Signature

Method DO_HANDLE_CONDITIONAL on class /IWCOR/CL_REST_RESOURCE has no parameter.
Method DO_HANDLE_CONDITIONAL on class /IWCOR/CL_REST_RESOURCE has no exception.

Method GET_CONDITIONAL_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_ETAG Call by reference Type reference (TYPE) /IWCOR/REST_ETAG_S ETag 20100708
2 Exporting EV_EXISTING Call by reference Type reference (TYPE) ABAP_BOOL Conditional Info Available 20100708
3 Exporting EV_GET_RESPONSE Call by reference Type reference (TYPE) ABAP_BOOL Get Response? 20100708
4 Exporting EV_MODIFICATION_DATE Call by reference Type reference (TYPE) TIMESTAMP Modification Date 20100708
5 Exporting EV_STATUS Call by reference Type reference (TYPE) I Status 20100708
6 Importing IV_METHOD Call by reference Type reference (TYPE) STRING HTTP Method 20100708

Method GET_CONDITIONAL_INFO on class /IWCOR/CL_REST_RESOURCE has no exception.
History
Last changed by/on SAP  20131127 
SAP Release Created in 100