SAP ABAP Class /IWCOR/CL_REST_TEST_RESOURCE (REST Simple Test Resource (Ping))
Hierarchy
SAP_GWFND (Software Component) SAP Gateway Foundation
   OPU-FND-CCL (Application Component) IWF Consumer Connectivity Layer
     /IWCOR/SREST_TEST (Package) REST ibrary test
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  /IWCOR/CL_REST_RESOURCE REST Resource 20100708
Properties
Class /IWCOR/CL_REST_TEST_RESOURCE  
Short Description REST Simple Test Resource (Ping)    
Super Class /IWCOR/CL_REST_RESOURCE REST Resource 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /IWCOR/SREST_TEST   REST ibrary test 
Created 20090812   SAP 
Last change 20131127   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class /IWCOR/CL_REST_TEST_RESOURCE has no forward declaration.
Interfaces
Class /IWCOR/CL_REST_TEST_RESOURCE has no interface implemented.
Friends
Class /IWCOR/CL_REST_TEST_RESOURCE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_ETAG Constant Public Type reference (TYPE) STRING 'Foo' REST Entity Tag 20100708
2 GC_HELLO_TEXT Constant Public Type reference (TYPE) STRING 'Hello from test resource' Sample text 20100708
3 GC_MODIF_DATE Constant Public Type reference (TYPE) TIMESTAMP '20000101000000' UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) 20100708
4 GC_OUT_ATTR_SEP Constant Public Type reference (TYPE) STRING '---URI Attributes---' URI Attributes separator 20100708
5 GC_OUT_COL_SEP Constant Public Type reference (TYPE) STRING ':' Column separator 20100708
6 GC_OUT_FRAGMENT_NAME Constant Public Type reference (TYPE) STRING 'Fragment' Fragment name 20100708
7 GC_OUT_HEADER_SEP Constant Public Type reference (TYPE) STRING '---Header---' Header separator 20100708
8 GC_OUT_MATRIX_SEP Constant Public Type reference (TYPE) STRING '---URI Matrixparameter---' URI Matrix separator 20100708
9 GC_OUT_QPARAM_SEP Constant Public Type reference (TYPE) STRING '---URI Queryparameter---' URI query parameter separator 20100708
10 GC_OUT_REQUEST_BODY Constant Public Type reference (TYPE) STRING '---Request Body---' Sample request body 20100708
11 GC_OUT_RESPONSE_BODY Constant Public Type reference (TYPE) STRING '---Response Body---' Sample response body 20100708
12 GC_OUT_URI_SEGMENTS_SEP Constant Public Type reference (TYPE) STRING '---URI Segments---' Segment separator 20100708
Methods
# Method Level Visibility Method type Description Created on
1 COPY_TEST_HEADERS Instance method Private Method 20100708
2 GET_ATTRIBUTE Static method Public Method 20100909
3 GET_MATRIX_PARAMETER Static method Public Method 20100909
4 GET_QUERY_PARAMETER Static method Public Method 20100909
5 GET_REST_PATH_SEGMENTS Static method Public Method 20100909
6 GET_VALUE Static method Public Method 20100909
7 PARSE_INFORMATION Static method Public Method Parse Response 20100909
8 PRINT_INFORMATION Instance method Private Method Get Request Information 20100708
Events
Class /IWCOR/CL_REST_TEST_RESOURCE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_ECHO_RESPONSE Public See coding 20100909 BEGIN OF ty_echo_response, values TYPE tihttpnvp, headers TYPE tihttpnvp, attributes TYPE tihttpnvp, matrix_parameters TYPE tihttpnvp, query_parameters TYPE tihttpnvp , uri_segments TYPE tihttpnvp, END OF ty_echo_response
Method Signatures

Method COPY_TEST_HEADERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FROM_REQUEST Call by reference Object reference (TYPE REF TO) /IWCOR/IF_REST_REQUEST REST Request 20100708
2 Importing IV_TO_ENTITY Call by reference Object reference (TYPE REF TO) /IWCOR/IF_REST_ENTITY REST Response 20100708

Method COPY_TEST_HEADERS on class /IWCOR/CL_REST_TEST_RESOURCE has no exception.

Method GET_ATTRIBUTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ECHO_DATA Call by reference Type reference (TYPE) TY_ECHO_RESPONSE 20100909
2 Importing IV_NAME Call by reference Type reference (TYPE) STRING 20100909
3 Returning RV_VALUE Value transfer Type reference (TYPE) STRING 20100909

Method GET_ATTRIBUTE on class /IWCOR/CL_REST_TEST_RESOURCE has no exception.

Method GET_MATRIX_PARAMETER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ECHO_DATA Call by reference Type reference (TYPE) TY_ECHO_RESPONSE 20100909
2 Importing IV_NAME Call by reference Type reference (TYPE) STRING 20100909
3 Returning RV_VALUE Value transfer Type reference (TYPE) STRING 20100909

Method GET_MATRIX_PARAMETER on class /IWCOR/CL_REST_TEST_RESOURCE has no exception.

Method GET_QUERY_PARAMETER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ECHO_DATA Call by reference Type reference (TYPE) TY_ECHO_RESPONSE 20100909
2 Importing IV_NAME Call by reference Type reference (TYPE) STRING 20100909
3 Returning RV_VALUE Value transfer Type reference (TYPE) STRING 20100909

Method GET_QUERY_PARAMETER on class /IWCOR/CL_REST_TEST_RESOURCE has no exception.

Method GET_REST_PATH_SEGMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ECHO_DATA Call by reference Type reference (TYPE) TY_ECHO_RESPONSE 20100909
2 Importing IV_NAME Call by reference Type reference (TYPE) STRING 20100909
3 Returning RV_VALUE Value transfer Type reference (TYPE) STRING 20100909

Method GET_REST_PATH_SEGMENTS on class /IWCOR/CL_REST_TEST_RESOURCE has no exception.

Method GET_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ECHO_DATA Call by reference Type reference (TYPE) TY_ECHO_RESPONSE 20100909
2 Importing IV_NAME Call by reference Type reference (TYPE) STRING 20100909
3 Returning RV_VALUE Value transfer Type reference (TYPE) STRING 20100909

Method GET_VALUE on class /IWCOR/CL_REST_TEST_RESOURCE has no exception.

Method PARSE_INFORMATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ENTITY Call by reference Object reference (TYPE REF TO) /IWCOR/IF_REST_ENTITY REST representation 20100909
2 Returning RS_ECHO_RESPONSE Value transfer Type reference (TYPE) TY_ECHO_RESPONSE 20100909

Method PARSE_INFORMATION on class /IWCOR/CL_REST_TEST_RESOURCE has no exception.

Method PRINT_INFORMATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_METHOD Call by reference Type reference (TYPE) STRING 20100708
2 Returning RV_TXT Value transfer Type reference (TYPE) STRING 20100708

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