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 | Constant | Public | Type reference (TYPE) | STRING | 'Foo' | REST Entity Tag | 20100708 | ||
| 2 | Constant | Public | Type reference (TYPE) | STRING | 'Hello from test resource' | Sample text | 20100708 | ||
| 3 | Constant | Public | Type reference (TYPE) | TIMESTAMP | '20000101000000' | UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) | 20100708 | ||
| 4 | Constant | Public | Type reference (TYPE) | STRING | '---URI Attributes---' | URI Attributes separator | 20100708 | ||
| 5 | Constant | Public | Type reference (TYPE) | STRING | ':' | Column separator | 20100708 | ||
| 6 | Constant | Public | Type reference (TYPE) | STRING | 'Fragment' | Fragment name | 20100708 | ||
| 7 | Constant | Public | Type reference (TYPE) | STRING | '---Header---' | Header separator | 20100708 | ||
| 8 | Constant | Public | Type reference (TYPE) | STRING | '---URI Matrixparameter---' | URI Matrix separator | 20100708 | ||
| 9 | Constant | Public | Type reference (TYPE) | STRING | '---URI Queryparameter---' | URI query parameter separator | 20100708 | ||
| 10 | Constant | Public | Type reference (TYPE) | STRING | '---Request Body---' | Sample request body | 20100708 | ||
| 11 | Constant | Public | Type reference (TYPE) | STRING | '---Response Body---' | Sample response body | 20100708 | ||
| 12 | Constant | Public | Type reference (TYPE) | STRING | '---URI Segments---' | Segment separator | 20100708 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | 20100708 | ||
| 2 | Static method | Public | Method | 20100909 | ||
| 3 | Static method | Public | Method | 20100909 | ||
| 4 | Static method | Public | Method | 20100909 | ||
| 5 | Static method | Public | Method | 20100909 | ||
| 6 | Static method | Public | Method | 20100909 | ||
| 7 | Static method | Public | Method | Parse Response | 20100909 | |
| 8 | 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 | IV_FROM_REQUEST | Call by reference | Object reference (TYPE REF TO) | /IWCOR/IF_REST_REQUEST | REST Request | 20100708 | |||
| 2 | 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 | IS_ECHO_DATA | Call by reference | Type reference (TYPE) | TY_ECHO_RESPONSE | 20100909 | ||||
| 2 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | 20100909 | ||||
| 3 | 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 | IS_ECHO_DATA | Call by reference | Type reference (TYPE) | TY_ECHO_RESPONSE | 20100909 | ||||
| 2 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | 20100909 | ||||
| 3 | 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 | IS_ECHO_DATA | Call by reference | Type reference (TYPE) | TY_ECHO_RESPONSE | 20100909 | ||||
| 2 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | 20100909 | ||||
| 3 | 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 | IS_ECHO_DATA | Call by reference | Type reference (TYPE) | TY_ECHO_RESPONSE | 20100909 | ||||
| 2 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | 20100909 | ||||
| 3 | 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 | IS_ECHO_DATA | Call by reference | Type reference (TYPE) | TY_ECHO_RESPONSE | 20100909 | ||||
| 2 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | 20100909 | ||||
| 3 | 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 | IO_ENTITY | Call by reference | Object reference (TYPE REF TO) | /IWCOR/IF_REST_ENTITY | REST representation | 20100909 | |||
| 2 | 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 | IV_METHOD | Call by reference | Type reference (TYPE) | STRING | 20100708 | ||||
| 2 | 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 |