SAP ABAP Class CL_REST_TEST_RESOURCE (REST Simple Test Resource (Ping))
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-MID-RST (Application Component) REST-based Protocols
     SREST_TEST (Package) REST Scenario Tests
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_REST_RESOURCE REST Resource 20090812
Properties
Class CL_REST_TEST_RESOURCE  
Short Description REST Simple Test Resource (Ping)    
Super Class CL_REST_RESOURCE REST Resource 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SREST_TEST   REST Scenario Tests 
Created 20090812   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_REST_TEST_RESOURCE has no forward declaration.
Interfaces
Class CL_REST_TEST_RESOURCE has no interface implemented.
Friends
Class 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 20090826
2 GC_HELLO_TEXT Constant Public Type reference (TYPE) STRING 'Hello from test resource' Sample text 20090813
3 GC_MODIF_DATE Constant Public Type reference (TYPE) TIMESTAMP '20000101000000' UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) 20090826
4 GC_OUT_ATTR_SEP Constant Public Type reference (TYPE) STRING '---URI Attributes---' URI Attributes separator 20100216
5 GC_OUT_COL_SEP Constant Public Type reference (TYPE) STRING ':' Column separator 20100216
6 GC_OUT_FRAGMENT_NAME Constant Public Type reference (TYPE) STRING 'Fragment' Fragment name 20100219
7 GC_OUT_HEADER_SEP Constant Public Type reference (TYPE) STRING '---Header---' Header separator 20100216
8 GC_OUT_MATRIX_SEP Constant Public Type reference (TYPE) STRING '---URI Matrixparameter---' URI Matrix separator 20100218
9 GC_OUT_QPARAM_SEP Constant Public Type reference (TYPE) STRING '---URI Queryparameter---' URI query parameter separator 20100216
10 GC_OUT_REQUEST_BODY Constant Public Type reference (TYPE) STRING '---Request Body---' Sample request body 20100219
11 GC_OUT_RESPONSE_BODY Constant Public Type reference (TYPE) STRING '---Response Body---' Sample response body 20100219
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 20100309
2 GET_ATTRIBUTE Static method Public Method 20100803
3 GET_MATRIX_PARAMETER Static method Public Method 20100803
4 GET_QUERY_PARAMETER Static method Public Method 20100803
5 GET_REST_PATH_SEGMENTS Static method Public Method 20100803
6 GET_VALUE Static method Public Method 20100803
7 PARSE_INFORMATION Static method Public Method Parse Response 20100803
8 PRINT_INFORMATION Instance method Private Method Get Request Information 20100302
Events
Class 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 20100803 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) IF_REST_REQUEST REST Request 20100309
2 Importing IV_TO_ENTITY Call by reference Object reference (TYPE REF TO) IF_REST_ENTITY REST Response 20100421

Method COPY_TEST_HEADERS on class 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 20100803
2 Importing IV_NAME Call by reference Type reference (TYPE) STRING 20100803
3 Returning RV_VALUE Value transfer Type reference (TYPE) STRING 20100803

Method GET_ATTRIBUTE on class 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 20100803
2 Importing IV_NAME Call by reference Type reference (TYPE) STRING 20100803
3 Returning RV_VALUE Value transfer Type reference (TYPE) STRING 20100803

Method GET_MATRIX_PARAMETER on class 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 20100803
2 Importing IV_NAME Call by reference Type reference (TYPE) STRING 20100803
3 Returning RV_VALUE Value transfer Type reference (TYPE) STRING 20100803

Method GET_QUERY_PARAMETER on class 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 20100803
2 Importing IV_NAME Call by reference Type reference (TYPE) STRING 20100803
3 Returning RV_VALUE Value transfer Type reference (TYPE) STRING 20100803

Method GET_REST_PATH_SEGMENTS on class 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 20100803
2 Importing IV_NAME Call by reference Type reference (TYPE) STRING 20100803
3 Returning RV_VALUE Value transfer Type reference (TYPE) STRING 20100803

Method GET_VALUE on class 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) IF_REST_ENTITY REST representation 20100803
2 Returning RS_ECHO_RESPONSE Value transfer Type reference (TYPE) TY_ECHO_RESPONSE 20100803

Method PARSE_INFORMATION on class 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 20100302
2 Returning RV_TXT Value transfer Type reference (TYPE) STRING 20100302

Method PRINT_INFORMATION on class CL_REST_TEST_RESOURCE has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 701